connecting to doctor after works
This commit is contained in:
@@ -128,6 +128,8 @@ namespace Util
|
||||
}
|
||||
byte messageId = bytes[4];
|
||||
|
||||
System.Diagnostics.Debug.WriteLine(Encoding.ASCII.GetString(bytes.Skip(5).ToArray()));
|
||||
|
||||
if (messageId == 0x01)
|
||||
{
|
||||
dynamic json = JsonConvert.DeserializeObject(Encoding.ASCII.GetString(bytes.Skip(5).ToArray()));
|
||||
@@ -225,6 +227,8 @@ namespace Util
|
||||
|
||||
public static byte[] getNewConnectionJson(string user)
|
||||
{
|
||||
if (user == null)
|
||||
throw new ArgumentNullException("user null");
|
||||
dynamic data = new
|
||||
{
|
||||
username = user
|
||||
|
||||
Reference in New Issue
Block a user