Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Shutdown_Request_Pdu.Clone C# (CSharp) Method

Clone() public method

Create an instance of the class that is identical to the current PDU.
public Clone ( ) : StackPacket
return StackPacket
        public override StackPacket Clone()
        {
            Client_Shutdown_Request_Pdu cloneShutdownPdu = new Client_Shutdown_Request_Pdu(context);

            cloneShutdownPdu.commonHeader = commonHeader.Clone();
            cloneShutdownPdu.shutdownRequestPduData = shutdownRequestPduData;

            return cloneShutdownPdu;
        }