Ejemplo n.º 1
0
        private void PaExecApplyInfo(string websites)
        {
            doRefresh = false;
            string command = $"@{machineList} -noname -h -d -n 5 -c \"{uploadLocation}\" \"websitesHere-->\" {websites}";

            lastCommand = command;
            BackWorkerRemote.RunWorkerAsync();
        }
Ejemplo n.º 2
0
        private void PaExecPullInfo(string system)
        {
            doRefresh = true;
            string command = $"\\\\{system} -noname -h -n 5 cmd.exe /c \"type {hostsDir}\" >{remoteHostsDir}";

            lastCommand = command;
            BackWorkerRemote.RunWorkerAsync();
        }