In The Hand - .NET Components for Mobility
IrDAClient Constructor (service)
NamespacesInTheHand.Net.SocketsIrDAClientIrDAClient(String)
Initializes a new instance of the IrDAClient class and connects to the specified service name.
Declaration Syntax
C#Visual Basic
public IrDAClient(
	string service
)
Public Sub New ( _
	service As String _
)
Parameters
service (String)
A String containing the service name to connect to.
Remarks

This is equivalent to calling the default constructor followed by Connect(String).

As noted the connection will be made to an arbitrary peer. This is most useful when it is expected that there will be only one device in range — as is often the case. If a connection is to be made to a particular remote peer, then use the IrDAClient(IrDAEndPoint) overload.

Infrared connections are made by specifying a Service Name, which can be any value provided the participating devices refer the same name.

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 2.2.0.0