Example #1
0
        public static IEnumerable <LoginUsers> GetLoginUsers()
        {
            dynamic volvo = VdfConvert.Deserialize(GetLoginUsersConfig());
            VToken  v2    = volvo.Value;

            return(v2.Children().Select(child => new LoginUsers(child)).Where(user => user.RememberPassword).ToList());
        }
Example #2
0
        public static IEnumerable <User2Json.SteamLoginUsers> GetLoginUsers()
        {
            if (SteamPath.SteamLocation == null)
            {
                SteamPath.Init();
            }

            dynamic volvo = VdfConvert.Deserialize(File.ReadAllText(SteamPath.SteamLocation + @"\config\loginusers.vdf"));
            VToken  v2    = volvo.Value;

            return(v2.Children().Select(child => new SteamLoginUsers((VProperty)child)).OrderByDescending(user => user.LastLoginTime).ToList());
        }
Example #3
0
        public static IEnumerable <SteamLoginUsers> GetLoginUsers()
        {
            if (Helpers.Extensions.SteamLocation == null)
            {
                Helpers.Extensions.Init();
            }

            dynamic volvo = VdfConvert.Deserialize(File.ReadAllText(Helpers.Extensions.SteamLocation + @"\config\loginusers.vdf"));
            VToken  v2    = volvo.Value;

            return(v2.Children().Select(child => new SteamLoginUsers(child)).OrderByDescending(user => user.LastLoginTime).ToList());
            //.Where(user => user.RememberPassword)
        }