title: Powershell: How do i get credentials from C# code?
body: <p>I have tried to call "Get-Credential" CMDlet without luck. Reading Powershell SDK i find the abstract method "PSHostUserInterface.PromptForCredential Method (String, String, String, String) ". is there any object whitch implement this method?</p>
  
  <p>Any other solution?</p>
  
  <p>Regards</p>