This documentation is archived and is not being maintained.

IrDAEndPoint.DeviceID Property

Gets or sets an identifier for the device.

Namespace:  System.Net
Assembly:  System.Net.IrDA (in System.Net.IrDA.dll)

public byte[] DeviceID { get; set; }

Property Value

Type: System.Byte[]
A 4-byte value.

ExceptionCondition
ArgumentNullException

You attempt to set the device identifier to null.

ArgumentException

You attempt to set a device identifier that is not a 4-byte value.

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5, 2.0, 1.0
Show: