Hi. I feel completely lost, because i cannot resolve this.
using (Process p = new Process())
{
p.StartInfo = new ProcessStartInfo("dummybinary.exe");
p.StartInfo.CreateNoWindow = true;
p.StartInfo.UseShellExecute = false;
p.StartInfo.UserName = _userName;
p.StartInfo.Domain = _domain;
p.StartInfo.Password = new System.Security.SecureString();
foreach (char c in _password)
p.StartInfo.Password.AppendChar(c);
p.StartInfo.Password.MakeReadOnly();
try
{
p.Start();
p.WaitForExit();
}
catch
{ ...error ...
Go to the complete details ...