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

The TS_UD_CS_CORE data block contains core client connection-related information.
file:///C:/ts_dev/TestSuites/MS-RDPBCGR/TestSuite/Src/TD/latest_XMLS_16may/RDPBCGR/ _rfc_ms-rdpbcgr2_1_1_3_2.xml
Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
SASSequence ushort
clientBuild uint
clientDigProductId string
clientName string
clientProductId UInt16Class
colorDepth colorDepth_Values
connnectionType ByteClass
desktopHeight ushort
desktopOrientation TS_UD_CS_CORE_desktopOrientation_values
desktopPhysicalHeight UInt32Class
desktopPhysicalWidth UInt32Class
desktopScaleFactor UInt32Class
desktopWidth ushort
deviceScaleFactor UInt32Class
earlyCapabilityFlags UInt16Class
header TS_UD_HEADER
highColorDepth UInt16Class
imeFileName string
keyboardFunctionKey uint
keyboardLayout uint
keyboardSubType uint
keyboardType keyboardType_Values
pad1octets ByteClass
postBeta2ColorDepth UInt16Class
serialNumber UInt32Class
serverSelectedProtocol UInt32Class
supportedColorDepths UInt16Class
version version_Values

Property Details

SASSequence public property

A 16-bit unsigned integer. Secure access sequence. This field SHOULD be set to RNS_UD_SAS_DEL (0xAA03).
public ushort SASSequence
return ushort

clientBuild public property

A 32-bit unsigned integer. Build number of the client.
public uint clientBuild
return uint

clientDigProductId public property

Contains a value which uniquely identifies the client. If this field is present, then all of the preceding fields MUST also be present. If this field is not present, then none of the subsequent fields MUST be present.
public string clientDigProductId
return string

clientName public property

Name of the client computer. This field contains up to 15 Unicode characters plus a null terminator.
public string clientName
return string

clientProductId public property

A 16-bit unsigned integer. The client product ID. This field SHOULD be initialized to 1.
public UInt16Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr clientProductId
return UInt16Class

colorDepth public property

A 16-bit unsigned integer. The requested color depth. This field MUST be set to RNS_UD_COLOR_8BPP (0xCA01) for historical reasons.
public colorDepth_Values colorDepth
return colorDepth_Values

connnectionType public property

An 8-bit unsigned integer. Hints at the type of network connection being used by the client. This field only contains valid data if the RNS_UD_CS_VALID_CONNECTION_TYPE (0x0020) flag is present in the earlyCapabilityFlags field.
public ByteClass,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr connnectionType
return ByteClass

desktopHeight public property

A 16-bit unsigned integer. The requested desktop height in pixels (up to a maximum value of 2048 pixels).
public ushort desktopHeight
return ushort

desktopOrientation public property

A 16-bit, unsigned integer. The requested orientation of the desktop, in degrees.
public TS_UD_CS_CORE_desktopOrientation_values desktopOrientation
return TS_UD_CS_CORE_desktopOrientation_values

desktopPhysicalHeight public property

The requested physical height of the desktop, in millimeters.
public UInt32Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr desktopPhysicalHeight
return UInt32Class

desktopPhysicalWidth public property

The requested physical width of the desktop, in millimeters (mm).
public UInt32Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr desktopPhysicalWidth
return UInt32Class

desktopScaleFactor public property

A 32-bit, unsigned integer. The requested desktop scale factor.
public UInt32Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr desktopScaleFactor
return UInt32Class

desktopWidth public property

A 16-bit unsigned integer. The requested desktop width in pixels (up to a maximum value of 4096 pixels).
public ushort desktopWidth
return ushort

deviceScaleFactor public property

A 32-bit, unsigned integer. The requested device scale factor.
public UInt32Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr deviceScaleFactor
return UInt32Class

earlyCapabilityFlags public property

A 16-bit unsigned integer. It specifies capabilities early in the connection sequence.
public UInt16Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr earlyCapabilityFlags
return UInt16Class

header public property

GCC user data block header, as specified in section . The User Data Header type field MUST be set to CS_CORE (0xC001).
public TS_UD_HEADER,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr header
return TS_UD_HEADER

highColorDepth public property

A 16-bit unsigned integer. The requested color depth examined by RDP 5.1, 5.2, and 6.0 servers.
public UInt16Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr highColorDepth
return UInt16Class

imeFileName public property

A 64-byte field. The Input Method Editor (IME) file name associated with the input locale. This field contains up to 31 Unicode characters plus a null terminator.
public string imeFileName
return string

keyboardFunctionKey public property

A 32-bit unsigned integer. The number of function keys on the keyboard.
public uint keyboardFunctionKey
return uint

keyboardLayout public property

A 32-bit unsigned integer. Keyboard layout (active input locale identifier). For a list of possible input locales, see [MSDN-MUI].
public uint keyboardLayout
return uint

keyboardSubType public property

A 32-bit unsigned integer. The keyboard subtype (an original equipment manufacturer-dependent value).
public uint keyboardSubType
return uint

keyboardType public property

A 32-bit unsigned integer. Keyboard type.
public keyboardType_Values keyboardType
return keyboardType_Values

pad1octets public property

An 8-bit, unsigned integer. Padding to align the serverSelectedProtocol field on the correct byte boundary. If this field is present, then all of the preceding fields MUST also be present. If this field is not present, then none of the subsequent fields MUST be present.
public ByteClass,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr pad1octets
return ByteClass

postBeta2ColorDepth public property

A 16-bit unsigned integer. The requested color depth examined by RDP 4.0 and 5.0 version servers.
public UInt16Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr postBeta2ColorDepth
return UInt16Class

serialNumber public property

A 32-bit unsigned integer. Serial number. This field SHOULD be initialized to 0. If this field is not present, then none of the subsequent fields MUST be present.
public UInt32Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr serialNumber
return UInt32Class

serverSelectedProtocol public property

A 32-bit unsigned integer. It contains the value returned by the server in the selectedProtocol field of the RDP Negotiation Response structure. In the event that an RDP Negotiation Response structure was not sent, this field MUST be initialized to PROTOCOL_RDP (0). If this field is present, then all of the preceding fields MUST also be present.
public UInt32Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr serverSelectedProtocol
return UInt32Class

supportedColorDepths public property

A 16-bit unsigned integer. Specifies the high color depths that the client is capable of supporting (examined by RDP 5.1 and later servers).
public UInt16Class,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr supportedColorDepths
return UInt16Class

version public property

A 32-bit unsigned integer. Client version number for the Remote Desktop Protocol (RDP). The major version number is stored in the high 2 bytes, while the minor version number is stored in the low 2 bytes.
public version_Values version
return version_Values