//--- msg readers private void AuthenticationSuccessMsgReader(ReceivedMsg receivedMsg, AuthenticationSuccesMessage msg) { _authenticationState.Stem1_MsgReader(receivedMsg, msg); if (_authenticationState.State == UserAuthenticationState.AuthenticationState.Success) { _authenticationState = null; IsConnected = true; if (OnUserLogin != null) { OnUserLogin(); } } }