Is there any API for C# (or C++) which allows for parsing ntuser.dat file which does not belong to a logged user (so that I cannot use regular registry API)?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. Just load the hive and access it normally. You can use the RegLoadKey P/Invoke. C# has no native equivalent for this but since you’re talking about the registry I don’t think the P/Invoke will cause platform issues for you.