Assembly: System.Net.IrDA (in system.net.irda.dll)
You can create an IrDAListener from an IrDAEndPoint, which is established with the device ID and service name.
The following code example creates a connection, with the IrDAEndPoint class, to a device and starts listening for infrared communication from that device with the IrDAListener class. This code example is part of a larger example provided for the IrDAClient class.
Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.