title: connect compmgmnt.msc to remote host using c#
body: <p>how can i use compmgmnt.msc to remote host using c#.
  i found this...</p>
  
  <p>execute this command in "cmd.exe" it is working and ask you for The password: </p>
  
  <pre><code>/user:administrator \"mmc.exe compmgmt.msc /computer:IZADI-PC\
  </code></pre>
  
  <p>but i need to know how can i use this command in c#.
  i also need to pass the password to this command using c#.
  i have username and password of the remote computer and i wanna do everything  programatically.</p>
  
  <p>I also visited :</p>
  
  <p><a href="http://www.lansweeper.com/forum/yaf_postst5116_Runas-Custom-Actions.aspx" rel="nofollow noreferrer">http://www.lansweeper.com/forum/yaf_postst5116_Runas-Custom-Actions.aspx</a>
  <a href="https://stackoverflow.com/questions/2313553/process-start-with-different-credentials-with-uac-on">Process.Start with different credentials with UAC on</a></p>
  
  <p>Thank you in advanced!!!</p>
  
  <p>anyone write sample code to excecute <code>/user:administrator \"mmc.exe compmgmt.msc /computer:IZADI-PC\</code> in c#</p>