读取脱机注册表文件 [英] Reading Offline Registry File

查看:103
本文介绍了读取脱机注册表文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否可以使用"RegistryKey Class"读取离线reg文件

I would like to know if it is possible to read an offline reg file using "RegistryKey Class"

例如我有SOFTWARE reg文件,我想离线阅读此文件. (不是本地计算机上的我的软件")使用

E.g. I have SOFTWARE reg file, and I would like to read this file OFFLINE  (not my SOFTWARE in my local machine ) using

RegistryKey key = RegistryKey.OpenRemoteBaseKey(RegistryHive.LocalMachine, "");
RegistryKey subkey = key.OpenSubKey("Software\\Microsoft\\Windows NT\\CurrentVersion");


请,如果可能的话,我应该使用什么?如果没有解决办法


Please if that possible, what i should use ? if not What is the solution

推荐答案

您是否在谈论.reg文件?  如果是这样,您将不需要任何这些.  它们是简单格式化的文本文件.  请参阅此处:  http://support.microsoft.com/kb/310516
Are you talking about the .reg files?   If so, you don't need any of that.  They're rather simply formatted text files.   See here:  http://support.microsoft.com/kb/310516


这篇关于读取脱机注册表文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆