The MCS Disconnect Provider Ultimatum PDU is an MCS PDU sent as part of the disconnection sequences, as specified in section .
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_2_1.xml
Inheritance: RdpbcgrServerPdu
Exemplo n.º 1
0
        /// <summary>
        /// Create an instance of the class that is identical to the current PDU. 
        /// </summary>
        /// <returns>The new instance.</returns>
        public override StackPacket Clone()
        {
            MCS_Disconnect_Provider_Ultimatum_Server_Pdu cloneMcsUltimatePdu =
               new MCS_Disconnect_Provider_Ultimatum_Server_Pdu(serverSessionContext);
            cloneMcsUltimatePdu.tpktHeader = tpktHeader;
            cloneMcsUltimatePdu.x224Data = x224Data;
            if (disconnectProvider != null)
            {
                cloneMcsUltimatePdu.disconnectProvider = new DisconnectProviderUltimatum(disconnectProvider.reason);
            }

            return cloneMcsUltimatePdu;
        }