Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.SoftSyncResDvcPdu.DoUnmarshal C# (CSharp) Method

DoUnmarshal() protected method

protected DoUnmarshal ( PduMarshaler marshaler ) : void
marshaler PduMarshaler
return void
        protected override void DoUnmarshal(PduMarshaler marshaler)
        {
            this.Pad = marshaler.ReadByte();
            this.NumberOfTunnels = marshaler.ReadUInt32();
            List<TunnelType_Value> tunnelsToSwitchList = new List<TunnelType_Value>();
            for (int i = 0; i < NumberOfTunnels; ++i)
            {
                tunnelsToSwitchList.Add((TunnelType_Value)marshaler.ReadUInt32());
            }
            this.TunnelsToSwitch = tunnelsToSwitchList.ToArray();
        }