null
protected string GetRegistryValue(RegistryKey baseKey, string path, string name) { var key = baseKey.OpenSubKey(path); if (key == null) return null; return key.GetValue(name, null) as string; }