title: How to give my C# app administrative rights? manifest file
body: <p>I'm having some trouble with my C# app that uses win32_networkingadapterconfig. The problem is that I can't use the altering functions in win32_networkingadapterconfig when I use the app on a user that dont have admin rights. I have tried to "run as administrator", but no luck. And I have tried to make a manifestfile with this content in the trustInfo part:</p>
  
  <pre><code>&lt;security&gt;
    &lt;applicationRequestMinimum&gt;
      &lt;PermissionSet class="System.Security.PermissionSet" version="1" Unrestricted="true" ID="Custom" SameSite="site" /&gt;
      &lt;defaultAssemblyRequest permissionSetReference="Custom" /&gt;
    &lt;/applicationRequestMinimum&gt;
    &lt;requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"&gt;
  
      &lt;requestedExecutionLevel level="requireAdministrator" uiAccess="false" /&gt;
  
    &lt;/requestedPrivileges&gt;
  &lt;/security&gt;
  </code></pre>
  
  <p></p>
  
  <p>Enable clickone security settings are set to full trust. What am I doing wrong ?</p>