I need the program I'm making to request admin privileges. If the user denies the pop up message the program will continue but some features will be missing.
I have tried putting the code below in the app.manifest file but when the user denies the program privileges the program does not start.
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />