private static Uri CreateUri(RegistryHive hive, RegistryView view, string basePath)
 {
     return(new Uri(
                new Uri($"{RegistryViewConverter.ToString(view)}://{RegistryHiveConverter.ToString(hive)}/"),
                basePath
                ));
 }
        private RegistryKey OpenBaseKey(Uri path)
        {
            var hive = RegistryHiveConverter.FromString(path.Authority);
            var view = RegistryViewConverter.FromString(path.Scheme);

            return(RegistryKey.OpenBaseKey(hive, view));
        }