Administration Elevation
You can create a manifest file and set the app to require administrative privileges. This will trigger the UAC user prompt with the dimmed screen when your application is run without requiring any code on your part.

See MSDN for the gory details:


  This file can be created by using any text editor. The application manifest file should have the same name as the target executable file with a .manifest extension.





&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"&gt; 
  &lt;assemblyIdentity version="1.0.0.0"
     processorArchitecture="X86"
     name="&lt;your exec name minus extension&gt;"
     type="win32"/&gt; 
  &lt;description&gt;Description of your application&lt;/description&gt; 
  &lt;!-- Identify the application security requirements. --&gt;
  &lt;trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"&gt;
    &lt;security&gt;
      &lt;requestedPrivileges&gt;
        &lt;requestedExecutionLevel
          level="requireAdministrator"
          uiAccess="false"/&gt;
        &lt;/requestedPrivileges&gt;
       &lt;/security&gt;
  &lt;/trustInfo&gt;
&lt;/assembly&gt;