C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpefs.GENERAL_CAPS_SET

This packet is embedded into Server Core Capability Request and Client Core Capability Response messages. It describes nondevice-specific capabilities.
file:///D:/programs/RFSPAC/XML-RDPEFS/_rfc_ms-rdpefs2_2_2_7_1.xml
Inheritance: CAPABILITY_SET
Datei anzeigen Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
SpecialTypeDeviceCap uint
extendedPDU extendedPDU_Values
extraFlags1 extraFlags1_Values
extraFlags2 extraFlags2_Values
ioCode1 ioCode1_Values
ioCode2 ioCode2_Values
osType osType_Values
osVersion osVersion_Values
protocolMajorVersion protocolMajorVersion_Values
protocolMinorVersion DR_CORE_SERVER_CLIENTID_CONFIRM_VersionMinor_Values

Public Methods

Method Description
Decode ( PduMarshaler marshaler ) : void
Encode ( PduMarshaler marshaler ) : void
GENERAL_CAPS_SET ( ) : System
GENERAL_CAPS_SET ( CAPABILITY_HEADER header ) : System

A CAPABILITY_HEADER header. The CapabilityType field of this header MUST be set to CAP_GENERAL_TYPE. The Version field of this header MUST have one of the following values: GENERAL_CAPABILITY_VERSION_01 0x0001 Version1. The SpecialTypeDeviceCap field of GENERAL_CAP_SET is not present. GENERAL_CAPABILITY_VERSION_02 0x0002 Version2. The SpecialTypeDeviceCap field of GENERAL_CAP_SET is present.

GENERAL_CAPS_SET ( CAPABILITY_VERSION ver ) : System

Method Details

Decode() public method

public Decode ( PduMarshaler marshaler ) : void
marshaler PduMarshaler
return void

Encode() public method

public Encode ( PduMarshaler marshaler ) : void
marshaler PduMarshaler
return void

GENERAL_CAPS_SET() public method

public GENERAL_CAPS_SET ( ) : System
return System

GENERAL_CAPS_SET() public method

A CAPABILITY_HEADER header. The CapabilityType field of this header MUST be set to CAP_GENERAL_TYPE. The Version field of this header MUST have one of the following values: GENERAL_CAPABILITY_VERSION_01 0x0001 Version1. The SpecialTypeDeviceCap field of GENERAL_CAP_SET is not present. GENERAL_CAPABILITY_VERSION_02 0x0002 Version2. The SpecialTypeDeviceCap field of GENERAL_CAP_SET is present.
public GENERAL_CAPS_SET ( CAPABILITY_HEADER header ) : System
header CAPABILITY_HEADER
return System

GENERAL_CAPS_SET() public method

public GENERAL_CAPS_SET ( CAPABILITY_VERSION ver ) : System
ver CAPABILITY_VERSION
return System

Property Details

SpecialTypeDeviceCap public_oe property

A 32-bit unsigned integer that specifies the number of special devices to be redirected before the user is logged on. Special devices are those that are safe and/or required to be redirected before a user logs on (such as smart cards and serial ports).
public uint SpecialTypeDeviceCap
return uint

extendedPDU public_oe property

A 32-bit unsigned integer that specifies extended PDU flags. This field MUST be set as a bitmask of the following values.
public extendedPDU_Values extendedPDU
return extendedPDU_Values

extraFlags1 public_oe property

A 32-bit unsigned integer that is currently reserved for future use, and MUST be set to 0.
public extraFlags1_Values extraFlags1
return extraFlags1_Values

extraFlags2 public_oe property

A 32-bit unsigned integer that is currently reserved for future use, and MUST be set to 0.
public extraFlags2_Values extraFlags2
return extraFlags2_Values

ioCode1 public_oe property

A 32-bit unsigned integer that identifies a bitmask of the supported I/O requests for the given device. If the bit is set, the I/O request is allowed. The requests are identified by the MajorFunction field in the Device I/O Request header. This field MUST be set to a valid combination of the following values.
public ioCode1_Values ioCode1
return ioCode1_Values

ioCode2 public_oe property

A 32-bit unsigned integer that is currently reserved for future use, and MUST be set to 0.
public ioCode2_Values ioCode2
return ioCode2_Values

osType public_oe property

A 32-bit unsigned integer that is the identifier for the operating system that the capabilities are describing. This field MUST be set to one of the following values.
public osType_Values osType
return osType_Values

osVersion public_oe property

A 32-bit unsigned integer. This field is unused, and MUST be set to 0.
public osVersion_Values osVersion
return osVersion_Values

protocolMajorVersion public_oe property

A 16-bit unsigned integer. This field MUST be set to 1.
public protocolMajorVersion_Values protocolMajorVersion
return protocolMajorVersion_Values

protocolMinorVersion public_oe property

A 16-bit unsigned integer. This field MUST be set to one of the values described by the VersionMinor field of the Server Client ID Confirm packet.
public DR_CORE_SERVER_CLIENTID_CONFIRM_VersionMinor_Values protocolMinorVersion
return DR_CORE_SERVER_CLIENTID_CONFIRM_VersionMinor_Values