/// <summary> /// Parse the PermanentEntryID payload of session. /// </summary> /// <param name="s">The stream to parse</param> public override void Parse(Stream s) { base.Parse(s); this.IDType = ReadByte(); this.R1 = ReadByte(); this.R2 = ReadByte(); this.R3 = ReadByte(); this.ProviderUID = ReadGuid(); this.R4 = ReadUint(); this.DisplayTypeString = (DisplayTypeValues)ReadUint(); this.DistinguishedName = new MAPIString(Encoding.ASCII); this.DistinguishedName.Parse(s); }
/// <summary> /// Parse the EphemeralEntryID payload of session. /// </summary> /// <param name="s">The stream to parse</param> public override void Parse(Stream s) { base.Parse(s); this.Type = ReadByte(); this.R1 = ReadByte(); this.R2 = ReadByte(); this.R3 = ReadByte(); this.ProviderUID = ReadGuid(); this.R4 = ReadUint(); this.DisplayType = (DisplayTypeValues)ReadUint(); this.Mid = new MinimalEntryID(); this.Mid.Parse(s); }