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

Clone() public méthode

public Clone ( ) : NETWORK_DETECTION_REQUEST
Résultat NETWORK_DETECTION_REQUEST
        public override NETWORK_DETECTION_REQUEST Clone()
        {
            RDP_BW_STOP bwStop = new RDP_BW_STOP();
            bwStop.headerLength = this.headerLength;
            bwStop.headerTypeId = this.headerTypeId;
            bwStop.requestType = this.requestType;
            bwStop.sequenceNumber = this.sequenceNumber;
            if (this.payloadLength != 0)
            {
                bwStop.payloadLength = this.payloadLength;
                bwStop.payload = RdpbcgrUtility.CloneByteArray(this.payload);
            }
            return bwStop;
        }
RDP_BW_STOP