private void PaExecApplyInfo(string websites) { doRefresh = false; string command = $"@{machineList} -noname -h -d -n 5 -c \"{uploadLocation}\" \"websitesHere-->\" {websites}"; lastCommand = command; BackWorkerRemote.RunWorkerAsync(); }
private void PaExecPullInfo(string system) { doRefresh = true; string command = $"\\\\{system} -noname -h -n 5 cmd.exe /c \"type {hostsDir}\" >{remoteHostsDir}"; lastCommand = command; BackWorkerRemote.RunWorkerAsync(); }