THEOWEB.DEV

WhatsappBot, BrowserAutomation, TelegramBot, JabberBot, IBankingBot, custom software developer, internet marketing

How To Make Program Run As Admin .NET Manifest

How To Make Program Run As Admin .NET Manifest

The program will only run if you are on the administrator's account, using this code, that should already be in app.config, just change:
<requestedExecutionLevel level="asInvoker" uiAccess="false" />

to
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />

and it should be good. If you want it to require the highest level of administration/ownership, you can use the following code:
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />

How To Make Program Run As Admin .NET Manifest

Posting Komentar

Protected By Copyscape