title: Is (File.Encrypt) allowed with Windows 7 Home Premium?
body: <p>When I run the code below, my console app outputs:</p>
  
  <p>"Unhandled Exception: System.IO.IOException: The Request is not supported."</p>
  
  <pre><code>static void Main()
  {
      var xmlFile = "Encrypt.xml";
  
      File.Encrypt(xmlFile);
  }
  </code></pre>
  
  <p>I'm running Windows 7 Home Premium, coding with Visual Studio 2010, and coding in C#.<br>
  Could someone tell me what's wrong?</p>