title: How to use AMD power control function in C#?
body: <p>For a executable file or static lib, I know it can use</p>
  
  <pre><code>extern "C"
    {
      __declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
    }
  </code></pre>
  
  <p>to select the high performance GPU, but how to use it in C# or dynamic link library?</p>
  
  <p>Is there any other way to change the power saving mode setting?</p>