Cannot set Temporary License

I am trying to set my license in .net but SetLicense() throws a System.InvalidOperationException: ‘Failed to set license. Details: ‘=’ is an unexpected token. The expected token is ‘;’. Line 19, position 141.’
Here is my code:

Aspose.BarCode.License lic = new Aspose.BarCode.License();
lic.SetLicense(@“C:\lic\Aspose.BarCode.lic”);

Could my license file be incorrect?

@srs0330,

Looks to be some issue with the license. Can you please share the license file by clicking my name and then clicking the Message button from the popup window?