IrDAClientDiscoverDevices(Int32, Socket) Method

Obtains information about available devices using a socket.

Definition

Namespace: InTheHand.Net.Sockets
Assembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public static IrDADeviceInfo[] DiscoverDevices(
	int maxDevices,
	Socket irdaSocket
)

Parameters

maxDevices  Int32
The maximum number of devices to get information about.
irdaSocket  Socket
A Socket to be uses to run the discovery process. It should have been created for the IrDA protocol

Return Value

IrDADeviceInfo
The discovered devices as an array of IrDADeviceInfo.

See Also