mountingProcess = new Process(); mountingProcess.StartInfo.FileName = "net.exe"; string argument = "use \\\\" + serverIP + "\\ipc$ /user:" + domain + "\\" + user + " " + password; mountingProcess.StartInfo.Arguments = argument; mountingProcess.Start();
mountingProcess.StartInfo.WindowStyle = ProcessWindowStyle.Minimized;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)