CommandPacket.CommandId Property (Windows Embedded CE 6.0)

1/5/2010

Command ID for the Command Packet

Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)

Syntax

public uint CommandId { get; set; }
'Declaration
Public Property CommandId As UInteger

Example

The following example builds a Command Packet, sets the Command ID to a value of 42, and adds an array of three bytes as a parameter.

CommandPacket sendCommand = new CommandPacket(); 
sendCommand.CommandId = 42; 
sendCommand.AddParameterBytes( new byte[] { 0x34, 0x29, 0xAF });

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

CommandPacket Class
CommandPacket Members
Microsoft.RemoteToolSdk.PluginComponents Namespace