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

The Server Control PDU includes Cooperate and Granted Control.
Inheritance: RdpbcgrServerPdu
Datei anzeigen Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
commonHeader SlowPathPduCommonHeader
controlPduData TS_CONTROL_PDU

Public Methods

Method Description
Clone ( ) : StackPacket

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

Server_Control_Pdu ( ) : System

The constructor of the class with no parameter.

Server_Control_Pdu ( RdpbcgrServerSessionContext serverSessionContext ) : System

The constructor of the class.

ToBytes ( ) : byte[]

Encode this structure into byte array.

Private Methods

Method Description
EncodeControlData ( TS_CONTROL_PDU controlPduData ) : byte[]

Encode controlPduData field.

Method Details

Clone() public method

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

Server_Control_Pdu() public method

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

Server_Control_Pdu() public method

The constructor of the class.
public Server_Control_Pdu ( RdpbcgrServerSessionContext serverSessionContext ) : System
serverSessionContext RdpbcgrServerSessionContext Specify the session context.
return System

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 described 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