SimpleClient.Connect(Uri, Boolean, Func<Uri, IDictionary<String, Object>, Task<SecureString>>, ConnectionInfoV1) Method

Connects the specified server URL.

Namespace: Gamanet.C4.SDK
Assembly: Gamanet.C4.SimpleClient (in Gamanet.C4.SimpleClient.dll) Version: 2026.0.0.733
Syntax
C#
public ConnectionResult Connect(
	Uri serverUrl,
	bool rememberAuthentication,
	Func<Uri, IDictionary<string, Object>, Task<SecureString>> jwtCallback,
	out ConnectionInfoV1 connectionInfo
)

Parameters

serverUrl  Uri
The server URL.
rememberAuthentication  Boolean
if set to true [store JWT locally encrypted].
jwtCallback  Func<Uri, IDictionary<String, Object>, Task<SecureString>>
The JWT callback.
connectionInfo  ConnectionInfoV1
The connection information.

Return Value

ConnectionResult
Connection result
See Also

Reference

SimpleClient Class
Connect Overload
Gamanet.C4.SDK Namespace