title: PGP File Decryption
body: <p>Need some help with pgp file decryption
  anyone have an idea how to do it in c#?
  I have it implemented through <code>process.start ("cmd.exe", command)</code>
  but its not doing anything other than openning the <code>C:\Windows\System32\IISExpress&gt;</code>
  the command line not getting executed,</p>
  
  <p>any help is appreciated.</p>
  
  <p>Code Snippet:</p>
  
  <pre><code>System.Diagnostics.Process process = new System.Diagnostics.Process();
  System.Diagnostics.ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo();
  startInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized;
  startInfo.FileName = "cmd.exe";
  startInfo.Arguments = "pgp --decrypt " + inputfile+ " -r \"inputphrase\" --passphrase     \"passphrase\" --output " + outputfile+ ".txt";
  process.StartInfo = startInfo;
  process.Start();
  </code></pre>
  
  <p>Please suggest if there is way to achieve this.</p>