示例#1
0
 public async Task SendGMCP(string path, Dictionary <string, object> payload)
 {
     try
     {
         byte[] t = Telnet.CreateGMCPData(path, payload);
         await Stream.WriteAsync(t, 0, t.Length);
     }
     catch (Exception)
     {
         //
     }
 }