WMI - C# - Enumerate Registry Keys / Values

G

Guest

I am trying to figure out how to enumerate through registry keys and values
using WMI and C#.

Please, NO VB or VB.SCRIPTS. I have found plenty of examples of how to do
this in VB and VBS. I would like see how to do this under C#.

I need to write an application that looks at processes, files, scan the
registry of a remote computer. I have figured out how to see the processes
and services, on a remote machine, but can't figure out the registry part,
and have not even begun to look at file stuff.

Also is there a good source for all the classes, methods, and properties?
I have only found scattered stuff and lots of it in VB or VBS formats. It
looks like it can all be done like a SQL query from C#, but unless you know
what the tables and fields look like, how can you possibly query them?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top