SshShell ssh = new SshShell(Vars.pingAddr, Vars.username); ssh.Password = Vars.password; ssh.RedirectToConsole(); ssh.Connect(); while (ssh.Connected) { try { //Mount drive here using process.start("net.exe") } catch { //error trapping } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)