I wrote a winform application in C #. When I run the program for some functions, it needs administrator permission. After installation If I installed the .exe file to run as an administrator manually (by right-clicking on the .exe file), then my program will work fine.
Now I need the user to not set the launch as the admin property after installation by right-clicking. I need to install this program code somewhere in code that the user does not need to worry about. This specific problem occurs only for Windows Vista. Can anyone help me out?
source
share