Exemplo n.º 1
0
 private void bgThread_ShutdownComputer(object sender, DoWorkEventArgs e)
 {
     // Background thread to shutdown the target computer.
     e.Result = RemoteTask.TaskShutdownComputer(e.Argument as string);
 }