C# Class Microsoft.Protocols.TestSuites.Rdpbcgr.efs.DEVICE_ANNOUNCE

This header is embedded in the Client Device List Announce message. Its purpose is to describe different types of devices.
file:///D:/programs/RFSPAC/XML-RDPEFS/_rfc_ms-rdpefs2_2_1_3.xml
Mostra file Open project: Microsoft/WindowsProtocolTestSuites

Public Properties

Property Type Description
DeviceData byte[]
DeviceDataLength uint
DeviceId uint
DeviceType DeviceType_Values
PreferredDosName byte[]

Property Details

DeviceData public_oe property

A variable-length byte array whose size is specified by the DeviceDataLength field. The content depends on the DeviceType field. See [MS-RDPEPC] section 2.2.2.1 for the printer device type. See [MS-RDPESP] section 2.2.2.1 for the serial and parallel port device types. See [MS-RDPESC] for the smart card device type.
public byte[] DeviceData
return byte[]

DeviceDataLength public_oe property

A 32-bit unsigned integer that specifies the number of bytes in the DeviceData field.
public uint DeviceDataLength
return uint

DeviceId public_oe property

A 32-bit unsigned integer that specifies a unique ID that identifies the announced device. This ID can be reused only if the device is removed.
public uint DeviceId
return uint

DeviceType public_oe property

A 32-bit unsigned integer that identifies the device type. This field MUST be set to one of the following values.
public DeviceType_Values DeviceType
return DeviceType_Values

PreferredDosName public_oe property

A string of ASCII characters with a maximum length of eight characters that represent the name of the device as it appears on the client. This field might not be null-terminated.
public byte[] PreferredDosName
return byte[]