IrDAClientDiscoverDevices(Int32, Socket) Method
Obtains information about available devices using a socket.
Namespace: InTheHand.Net.SocketsAssembly: InTheHand.Net.IrDA (in InTheHand.Net.IrDA.dll) Version: 4.0.2+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public static IrDADeviceInfo[] DiscoverDevices(
int maxDevices,
Socket irdaSocket
)
Public Shared Function DiscoverDevices (
maxDevices As Integer,
irdaSocket As Socket
) As IrDADeviceInfo()
public:
static array<IrDADeviceInfo^>^ DiscoverDevices(
int maxDevices,
Socket^ irdaSocket
)
static member DiscoverDevices :
maxDevices : int *
irdaSocket : Socket -> IrDADeviceInfo[]
- 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
IrDADeviceInfoThe discovered devices as an array of
IrDADeviceInfo.