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

The Monitor Layout PDU is used by the server to notify the client of the monitor layout in the session on the remote server.
Inheritance: RdpbcgrServerPdu
Datei anzeigen Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
commonHeader SlowPathPduCommonHeader
monitorCount uint
monitorDefArray Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_MONITOR_DEF[]
shareDataHeader TS_SHAREDATAHEADER

Public Methods

Method Description
Clone ( ) : StackPacket

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

TS_MONITOR_LAYOUT_PDU ( ) : System

The constructor of the class with no parameter.

TS_MONITOR_LAYOUT_PDU ( RdpbcgrServerSessionContext serverSessionContext ) : System

The constructor of the class.

ToBytes ( ) : byte[]

Method Details

Clone() public method

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

TS_MONITOR_LAYOUT_PDU() public method

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

TS_MONITOR_LAYOUT_PDU() public method

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

ToBytes() public method

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

monitorCount public_oe property

A 32-bit, unsigned integer. The number of display monitor definitions in the monitorDefArray field (the maximum allowed is 10).
public uint monitorCount
return uint

monitorDefArray public_oe property

A variable-length array containing a series of TS_MONITOR_DEF structures (section 2.2.1.3.6.1) which describe the display monitor layout of the client. The number of TS_MONITOR_DEF structures is given by the monitorCount field.
public TS_MONITOR_DEF[],Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr monitorDefArray
return Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.TS_MONITOR_DEF[]

shareDataHeader public_oe property

A Share Data Header containing information about the packet. The type subfield of the pduType field of the Share Control Header (section 2.2.8.1.1.1.1) MUST be set to PDUTYPE_DATAPDU (7). The pduType2 field of the Share Data Header MUST be set to PDUTYPE2_MONITOR_LAYOUT_PDU (55), and the pduSource field MUST be set to 0.
public TS_SHAREDATAHEADER,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr shareDataHeader
return TS_SHAREDATAHEADER