コード例 #1
0
 public void Login(dboReport Account)
 {
     byte[] buffer = Encoding.UTF8.GetBytes($"Login|{Account.Name},{Account.id},{Account.Channel}");
     ClientSocket.Send(buffer, 0, buffer.Length, SocketFlags.None);
 }
コード例 #2
0
 public void Login(dboReport Account)
 {
     //   StringRequestInfo D = new StringRequestInfo("Login",$"Login|{Account.Name},{Account.id},{Account.Channel}",new string[1]);
     byte[] buffer = Encoding.UTF8.GetBytes($"C Login|{Account.Name},{Account.id},{Account.Channel}##");
     BaseClient.Send(buffer, 0, buffer.Length);
 }