Click or drag to resize
ISessionEventListenerOnConnected Method
Fires when the connection to the server has been established.

Namespace: Six.Sixp.Client
Assembly: Six.Sixp.Client (in Six.Sixp.Client.dll) Version: 1.0.4874.0 (1.0.4874.0)
Syntax
C#
void OnConnected(
	ISession session,
	SixpServerSettings server,
	bool reconnected
)

Parameters

session
Type: Six.Sixp.ClientISession
The session that initiated the event
server
Type: Six.Sixp.ClientSixpServerSettings
Hold info about the connected server
reconnected
Type: SystemBoolean
Indicates if the session has redconnectd or if it's the first connect
Remarks
Please note that if the session is reconnected no login should be done. The session remembers the credentials and does the login automatically
See Also