public abstract GetEmailAuthenticationCode ( BytexDigital.Steam.Core.SteamCredentials steamCredentials ) : string | ||
steamCredentials | BytexDigital.Steam.Core.SteamCredentials | |
return | string |
private void OnLoggedOn(SteamKit.SteamUser.LoggedOnCallback callback) { if (callback.Result == EResult.OK) { SuggestedCellId = callback.CellID; _clientReadyEvent.Set(); } else { if (callback.Result == EResult.AccountLogonDenied || callback.Result == EResult.AccountLoginDeniedNeedTwoFactor) { if (callback.Result == EResult.AccountLogonDenied) { EmailAuthCode = _codesProvider.GetEmailAuthenticationCode(Credentials); } else { TwoFactorCode = _codesProvider.GetTwoFactorAuthenticationCode(Credentials); } InternalClient.Connect(); } else { FaultException = new SteamLogonException(callback.Result); _clientFaultedEvent.Set(); } } }