Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.DynamicVCPDU.UpdateCbChannelId C# (CSharp) Méthode

UpdateCbChannelId() protected méthode

protected UpdateCbChannelId ( ) : void
Résultat void
        protected void UpdateCbChannelId()
        {
            // TODO: check this logic
            if (ChannelId <= Byte.MaxValue)
            {
                HeaderBits.CbChannelId = cbChId_Values.OneByte;
            }
            else if (ChannelId <= UInt16.MaxValue)
            {
                HeaderBits.CbChannelId = cbChId_Values.TwoBytes;
            }
            else if (ChannelId <= UInt32.MaxValue)
            {
                HeaderBits.CbChannelId = cbChId_Values.FourBytes;
            }
        }