Click or drag to resize

wclCustomObexServerDoConnect Method

The method called when a remote client opens OBEX session (connects).

Namespace: wclCommunication
Assembly: wclCommunication (in wclCommunication.dll) Version: 8.0.6.0
Syntax
protected virtual void DoConnect(
	Guid Target,
	Guid Who,
	string Description
)

Parameters

Target  Guid
The requested target service/server ID.
Who  Guid
The client's ID.
Description  String
The connect operation's or client's description.
Remarks

A derived class must override this method to accept or reject connection. The default implementation rejects any connection requests. To accept a connection an implementation must call the Accept method. To reject the connection request an implementation must call the Reject method.

In case the Target and/or Who values were not provided by a client the values of these parameters are Guid.Empty. If the Description was not provided by a client the value of this parameter is an empty string.

See Also