Exemplo n.º 1
0
        } // constructor

        private static string GetSteamFolder()
        {
            string val = Std.GetRegistryString(RegistryHive.LocalMachine, @"SOFTWARE\WOW6432Node\Valve\Steam", "InstallPath");

            if (val.Length == 0)
            {
                val = Std.GetRegistryString(RegistryHive.LocalMachine, @"SOFTWARE\Valve\Steam", "InstallPath");
            }
            if (val.Length == 0)
            {
                return(string.Empty);
            }
            return(val);
        } // method
Exemplo n.º 2
0
        } // constructor

        private void Form1_Load(object sender, EventArgs e)
        {
            TxtOutputFolder.Text = Std.GetRegistryString(RegistryHive.CurrentUser, @"SOFTWARE\SteamTool", "OutputFolder");
        } // method