I am using the Process class in my application, right at the beginning of the static Main method. I am using the Process class to know if another instance of my application is currently running. If my application is already running, I will exit. i am not looking for a way of change this, this has been working for years
But recently this is not working on some computers of our users, I get the error "Common Language Runtime Debugging Services : Application has generated an exception that could not be handled".
I already fullstrust the assembly and the user is an administrator of the system.
any ideas will help Thanks!!
Edit: The WMI Performance Adapter Service is turned ON before the error is thrown and OFF after the error occurred, am i missing some kind of permission?.
this is on Framework 1.1