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

Clone() public method

public Clone ( ) : NETWORK_DETECTION_REQUEST
return NETWORK_DETECTION_REQUEST
        public override NETWORK_DETECTION_REQUEST Clone()
        {
            RDP_BW_PAYLOAD bwPayload = new RDP_BW_PAYLOAD();
            bwPayload.headerLength = this.headerLength;
            bwPayload.headerTypeId = this.headerTypeId;
            bwPayload.requestType = this.requestType;
            bwPayload.sequenceNumber = this.sequenceNumber;
            bwPayload.payloadLength = this.payloadLength;
            bwPayload.payload = RdpbcgrUtility.CloneByteArray(this.payload);
            return bwPayload;
        }
RDP_BW_PAYLOAD