From LedHed's Wiki
Some times you need your application to launch with elevated permissions (UAC).
This can be accomplished by changing the following line in your .NET Projects app.manifest file:
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
to
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
NOTE: You can open the app.manifest in the code editor by going to your projects properties, then selecting Application and clicking the View Windows Settings button.
Reference
http://stackoverflow.com/questions/90674/how-does-a-program-ask-for-administrator-privileges