public static DeviceConnectedStatus Deserialise(Stream stream)
        {
            DeviceConnectedStatus result = new DeviceConnectedStatus();

            result.Online           = IPCHelper.ReadBoolean(stream);
            result.LastActivityTime = IPCHelper.ReadDateTime(stream);
            return(result);
        }
Exemplo n.º 2
0
 public bool ReadBoolean()
 {
     return(IPCHelper.ReadBoolean(_Payload));
 }