Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

.NET equivalent to RegLoadKey?

Posted on 2009-04-05
1
Medium Priority
?
460 Views
Last Modified: 2012-05-06
Hello,

I need to access the hives on an offline hard drive.  Normally, I'd use RegLoadKey with the path to the hive on the offline hard drive, but I'd like to use the .NET Registry and RegistryKey classes.  Unfortunately, they do not seem to support accessing the offline registry files on another hard drive...  Is that true?  If not, could you please tell me which class and method to use?

Thanks,

Mike
0
Comment
Question by:mjgardne
1 Comment
 

Accepted Solution

by:
mjgardne earned 0 total points
ID: 24073889
After more research, I've discovered that it is not possible in .NET.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question