Admin privilege in Vista and Windows 7 By C# (Visual Studio)


How to provide application "Admin privilege" in Vista and Windows 7 By C# (Visual Studio)


For giving Administrative privilege we have to make our application UAC compliant,
so that it will ask user to grant your application Administrator access.

To make our application UAC compliant,
Double Click My Project in Solution Explorer and Click UAC Settings button as shown in image.

Administrative privilege application

Then Modify app.manifest file as shown below. Make it 'requireAdministrator' instead of 'asInvoker' and save.
Hoping this post will help you...

Administrative privilege application


Admin privilege in Vista and Windows 7 By C# (Visual Studio) Admin privilege in Vista and Windows 7 By C# (Visual Studio) Reviewed by Bhaumik Patel on 1:02 AM Rating: 5