I am using a try ... catch block in main.
When I install the next
Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-US"); Thread.CurrentThread.CurrentUICulture = new CultureInfo("en-US");
This eliminates all exceptions and prints them in English.
But this does not work for many APIs inside, especially for exceptions caught as directory access files. Is there anything else that needs to be done?
So the main problem is that Execption
System.Net.Sockets.SocketException (0x80004005):
The message after that does not appear in the locale set
source share