I am using a try ... catch block in main.
When i set the following
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-US");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
This takes care of all the exceptions and prints them in English
But this fails for many API's internally especially for Exceptions caught like directory access ones. Is there something else that needs to be done?
So the main problem is this Execption
System.Net.Sockets.SocketException (0x80004005):
The message after this does not appear in the locale set