2012-07-17 15 views

Respuesta

0

mi solución para este problema, se inunda resuelve con "SendKeys":

var Proc = new System.Diagnostics.Process(); 
Proc.StartInfo.FileName = "C:\\Windows\\System32\\mstsc.exe"; 

//Proc.StartInfo.Arguments = "/v:" + "PCwg01"; normaly 
Proc.Start(); 

System.Threading.Thread.Sleep(100); 
SendKeys.Send("PCwg01"); //name or IP adress 
SendKeys.Send("\r"); 

espero que ayudará;)

Cuestiones relacionadas