withSIX.Play.Core.Games.Legacy.LocalMachineInfo.ReadSteamConfig C# (CSharp) Method

ReadSteamConfig() private method

private ReadSteamConfig ( ) : void
return void
        void ReadSteamConfig() {
            var steamPath = GetSteamPath();
            if (steamPath == null || !steamPath.Exists)
                return;

            var steamConfigPath = steamPath.GetChildDirectoryWithName("config").GetChildFileWithName("config.vdf");
            if (steamConfigPath.Exists)
                SteamConfig = new KeyValues(Tools.FileUtil.Ops.ReadTextFileWithRetry(steamConfigPath));
        }