Im making a C# project that is a local proxy and i'm using Themida protector for protect the app. So I want to add my app to Windows firewall exception. When I use my app without themida the Firewall exception is added successfully. But when I use the app with themida I have an exception in this line:
auth.ProcessImageFileName = applicationPath;
And the exception in the catch is:
The system cannot find the file specified (0x80070002).
Im checked that the variable
applicationPath have the right path to my app, but i don't know why i'm getting the exception.
You think that this problem can be fixed ? maybe using a optional method for add my app to windows firewall exception and avoid ProcessImageFileName.
PS: I'm running the app as a windows service.
User contributions licensed under CC BY-SA 3.0