[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Describes an enumeration of possible device types, such as Fax.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Assembly: System.Net.IrDA (in System.Net.IrDA.dll)
' Create a collection of a maximum of three devices. irDevices = irClient.DiscoverDevices(2) ' Show a message if no devices are found. If irDevices.Length = 0 Then MessageBox.Show("No remote infrared devices found!") Return End If ' Enumerate the IrDADeviceInfo ' array and list device information ' for each device in the list box. Dim device As String Dim ID As Integer ListBox1.Items.Clear() For Each irDevice As IrDADeviceInfo In irDevices ID = BitConverter.ToInt32(irDevice.DeviceID, 0) device = ID.ToString() _ & " " & irDevice.DeviceName _ & " " & irDevice.CharacterSet _ & " " & irDevice.Hints ListBox1.Items.Add(device) Next irDevice
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.