Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Shutdown_Request_Pdu.Clone C# (CSharp) Méthode

Clone() public méthode

Create an instance of the class that is identical to the current PDU.
public Clone ( ) : StackPacket
Résultat 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;
        }