IServerConnectionApiConnect Method

GF API Documentation
Establishes new connection to the server

Namespace:  GF.Api.Connection
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

void Connect(
	ConnectionContext context
)

Parameters

context
Type: GF.Api.ConnectionConnectionContext
Can use ConnectionContextBuilder to construct
Remarks

Note that IGFClient will be ready for operation only once LoginCompleted event is received. Client should expect LoginFailed event if login information is incorrect or connection could not be established.
See Also

Reference