com.onlineobject.objectnet Namespace

EmbeddedServer..::..TryGetClient Method

Retrieves the client with the given ID, if a client with that ID is currently connected.

Namespace:  com.onlineobject.objectnet.server
Assembly:  ObjectNetAPI (in ObjectNetAPI.dll)

Syntax


public bool TryGetClient(

	ushort id,

	out EmbeddedConnection client

)

Parameters

id
Type: UInt16
The ID of the client to retrieve.
client
Type: com.onlineobject.objectnet.server..::..EmbeddedConnection%
The retrieved client.

Return Value

trueTruetruetrue (True in Visual Basic) if a client with the given ID was connected; otherwise falseFalsefalsefalse (False in Visual Basic).