Patent ID: 7989403

Claim:
A method of inhibiting corrosion of metal surfaces in a fluid comprising: adding to the fluid an effective corrosion inhibiting amount of a synergist, a synergist when H 2 S is present in the fluid, or no synergist when H 2 S is present in the fluid, and a composition comprising the following formula and optionally salts thereof: wherein R 1 is C n H 2+1 , wherein n=0 to 12; benzyl; acrylate or H; wherein R 2 is a C 4 to C 22 alkyl; wherein R 3 is C n H 2n+1 , wherein n=0 to 12; benzyl; or H; wherein R 4 is C n H 2n+1 , wherein n=0 to 22; or H wherein X − is an anion, halogen, a carboxylate, or a sulfate and wherein X − is only present when both R 1 and R 3 are present; wherein Y═(CH 2 ) n , wherein n=1 to 8; and wherein R 3 and R 1 can not be hydrogen or n=0 at the same time.