I am having an exe generated by a c sharp program. when i run the exe, i want an UAC prompt to appear with an option to run the exe as administrator. I have seen examples of run
You can use the ProcessStartInfo class or Windows principal to achieve this.
You can also embed a manifest file in your application .exe and set requestedExecutionLevel property.
requestedExecutionLevel
There is also a way to enable/disable UAC trough the windows registry.