United States (English)
Sign in
Home
Library
Learn
Samples
Downloads
Support
Community
Forums
Microsoft Developer Network
>
Samples
>
UAC self-elevation (CSUACSelfElevation)
Download Visual Studio
Quick Access
My Samples
Upload a sample
Browse Sample Requests
More From All-In-One Code Framework
ASP.NET AJAX web chat application
(38)
ASP.NET GridView control demo (CSASPNETGridVi
ew)
(22)
Import/export Excel worksheet in ASP.NET (CSASPNETExcelI
mportExport)
(19)
Upload/edit image in ASP.NET (CSASPNETImageE
ditUpload)
(19)
Azure + Bing Map sample application (CSAzureBingMap
s)
(15)
See All
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.5 KB)
Ratings
(0)
Downloaded
5,593 times
Favorites
Add To Favorites
Requires
Visual Studio 2010
Last Updated
3/2/2012
License
MS-LPL
Share
Technologies
Windows SDK
Topics
Security
,
UAC
,
Integrity Level
Report Abuse to Microsoft
Description
Browse Code