public void Deserialize(BEReader reader) { CryptoKey = reader.ReadBlob(); ServerInitVector = reader.ReadBlob(); ClientInitVector = reader.ReadBlob(); SignHash = reader.ReadBlob(); Endpoints = reader.ReadArray <AuxiliaryStreamEndpoint>(); }
protected override void DeserializePayload(BEReader reader) { Flags = (DeviceFlags)reader.ReadUInt32(); DeviceType = (DeviceType)reader.ReadUInt16(); Name = reader.ReadString(); HardwareId = Guid.Parse(reader.ReadString()); LastError = reader.ReadUInt32(); Certificate = CryptoExtensions.DeserializeCertificateAsn(reader.ReadBlob()); }
public override void Deserialize(BEReader reader) { SequenceBegin = reader.ReadUInt32(); SequenceEnd = reader.ReadUInt32(); Data = reader.ReadBlob(); }