AdvancedLauncher.Management.Internal.LoginManager.Login C# (CSharp) Метод

Login() публичный Метод

public Login ( Profile profile ) : void
profile AdvancedLauncher.SDK.Model.Config.Profile
Результат void
        public void Login(Profile profile) {
            if (profile == null) {
                throw new ArgumentException("profile argument cannot be null");
            }
            LoginData credentials = GetCredentials(profile);
            if (credentials != null) {
                if (ConfigurationManager.GetConfiguration(profile.GameModel).IsLastSessionAvailable && !string.IsNullOrEmpty(credentials.LastSessionArgs)) {
                    ShowLastSessionDialog(profile);
                    return;
                }
                if (PerformLogin(credentials)) {
                    return;
                }
            }
            ShowLoginDialog(LanguageManager.Model.LoginLogIn, string.Empty, credentials.User);
        }

Same methods

LoginManager::Login ( string userName, string password, bool isManual ) : void