Ejemplo n.º 1
0
        private void ReStartSteamByUser(SteamUser user)
        {
            DisableMostRecentSteamUser();

            steamService.SetCurrentUser(user.AccountName ?? string.Empty);
            user.MostRecent = true;
            steamService.UpdateLocalUserData(user);
            user.OriginVdfString = user.CurrentVdfString;
            steamService.TryKillSteamProcess();
            steamService.StartSteam(SteamSettings.SteamStratParameter.Value);
            RefreshRememberUserList();
        }