示例#1
0
 public void SendFileGetCurrentDirectoryMessage()
 {
     if (server != null)
     {
         var command = CommandMaker.Invoke("FileGetCurrentDirectory", null);
         if (command != null)
         {
             var commandMsg = new CommandMessage()
             {
                 Command = command,
             };
             server.SendMessage(commandMsg);
         }
     }
 }
示例#2
0
 public void SendGetCaptureDataMessage() // GetCaptureData
 {
     if (server != null)
     {
         var command = CommandMaker.Invoke("GetCaptureData", null);
         if (command != null)
         {
             var commandMsg = new CommandMessage()
             {
                 Command = command,
             };
             server.SendMessage(commandMsg);
         }
     }
 }
示例#3
0
 public void SendProcessEnumMessage() // ProcessEnum
 {
     if (server != null)
     {
         var command = CommandMaker.Invoke("ProcessEnum", null);
         if (command != null)
         {
             var commandMsg = new CommandMessage()
             {
                 Command = command,
             };
             server.SendMessage(commandMsg);
         }
     }
 }
示例#4
0
 public void SendFileEnumMessage(string path) // FileEnum
 {
     if (server != null)
     {
         var parms   = new object[] { path, false, false, };
         var command = CommandMaker.Invoke("FileEnum", parms);
         if (command != null)
         {
             var commandMsg = new CommandMessage()
             {
                 Command = command,
             };
             server.SendMessage(commandMsg);
         }
     }
 }
示例#5
0
 public void SendProcessTerminateMessage(uint pid) // ProcessTerminate
 {
     if (server != null)
     {
         var parms   = new object[] { pid };
         var command = CommandMaker.Invoke("ProcessTerminate", parms);
         if (command != null)
         {
             var commandMsg = new CommandMessage()
             {
                 Command = command,
             };
             server.SendMessage(commandMsg);
         }
     }
 }