/// <summary> /// Disconnects any attached user from the session. /// </summary> /// <param name="synchronous">true to waits until the session is fully disconnected before returning from the method. false to returns immediately, even though the session may not be completely disconnected yet.</param> public void Disconnect(bool synchronous = false) { NativeMethodsHelper.DisconnectSession(this._server.Handle, this._sessionId, synchronous); }