C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Client_Control_Pdu_Cooperate

The Client Control PDU (Cooperate) is a Standard RDP Connection Sequence PDU sent from client to server during the Connection Finalization phase (see section ). It is sent after transmitting the Client Synchronize PDU.
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_1_15.xml
Inheritance: RdpbcgrClientPdu
Exibir arquivo Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
commonHeader SlowPathPduCommonHeader
controlPduData TS_CONTROL_PDU

Public Methods

Method Description
Client_Control_Pdu_Cooperate ( ) : System

The constructor of the class with no parameter.

Client_Control_Pdu_Cooperate ( Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrClientContext clientContext ) : System

The constructor of the class.

Clone ( ) : StackPacket

Create an instance of the class that is identical to the current PDU.

ToBytes ( ) : byte[]

Encode this structure into byte array.

Private Methods

Method Description
EncodeControlData ( TS_CONTROL_PDU controlPduData ) : byte[]

Encode controlPduData field.

Method Details

Client_Control_Pdu_Cooperate() public method

The constructor of the class with no parameter.
public Client_Control_Pdu_Cooperate ( ) : System
return System

Client_Control_Pdu_Cooperate() public method

The constructor of the class.
public Client_Control_Pdu_Cooperate ( Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrClientContext clientContext ) : System
clientContext Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.RdpbcgrClientContext Specify the context.
return System

Clone() public method

Create an instance of the class that is identical to the current PDU.
public Clone ( ) : StackPacket
return StackPacket

ToBytes() public method

Encode this structure into byte array.
public ToBytes ( ) : byte[]
return byte[]

Property Details

commonHeader public_oe property

The slow path header.
public SlowPathPduCommonHeader,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr commonHeader
return SlowPathPduCommonHeader

controlPduData public_oe property

The actual contents of the Control PDU, as specified in section . The grantId and controlId fields of the Control PDU Data MUST both be set to zero, while the action field MUST be set to CTRLACTION_COOPERATE (0x0004).
public TS_CONTROL_PDU,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr controlPduData
return TS_CONTROL_PDU