Patent ID: 8585930

Claim:
A method of inhibiting corrosion of a metallic surface in contact with a fluid in oil and gas applications comprising adding to the fluid an effective corrosion-inhibiting amount of one or more quaternary nitrogen-containing corrosion inhibitors according to the following formula: wherein is an aromatic, nitrogen-containing ring selected from oxazole, thiazole, acridine, cinnoline, quinoxazoline, pyridazine, pyridine, pyrimidine, quinazoline, quinoline, isoquinoline, and mixtures thereof; Y is a group of formula —OC(O)R 1 or —C(O)OR 1 ; L is —CH 2 CH(OR 2 )CH 2 —; R 1 is C 8 -C 20 alkyl or C 8 -C 20 alkenyl; R 2 is H or —C(O)R 1 ; and X is Br, Cl or I.