/// <summary> /// Initializes the <see cref="CPlan.W3LF.Settings.W3Path"/> property. /// </summary> public static void InitPath() { W3Path = RegistryKey.OpenBaseKey(RegistryHive.CurrentUser, RegistryView.Registry32).OpenSubKey("Software\\Blizzard Entertainment\\Warcraft III").GetValue("InstallPath", "C:\\Progra~1\\Warcra~1").ToString(); Logging.Log(Logging.LogLevels.Information, "Using W3Path: " + W3Path); }