Dev Center - Desktop
Dev Center Home
Windows Store apps
Internet Explorer
Hardware
Dashboard
Get Started
Design
Develop
Certify
Sign in
Desktop technologies
Server and system
API index
Samples
Community
Dev Center - Desktop
>
Samples
>
UAC self-elevation (CSUACSelfElevation)
Download Visual Studio
Quick Access
My Samples
Upload a sample
Browse Sample Requests
UAC self-elevation (CSUACSelfEleva
tion)
This example demonstrates how to check the privilege level of the current process, and how to self-elevate the process by giving explicit consent with the Consent UI.
Download
C# (130.8 KB)
Ratings
(2)
Downloaded
12,202 times
Favorites
Add To Favorites
Requires
Visual Studio 2008
Last Updated
3/2/2012
License
MS-LPL
Share
Technologies
Windows SDK
Topics
Security
,
UAC
,
Integrity Level
Report Abuse to Microsoft
Description
Browse Code