Results 1 to 2 of 2

Thread: Manipulate remote (or local) registry using WMI in VB.NET (threadsafe)

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2000
    Location
    NJ, USA
    Posts
    326

    Manipulate remote (or local) registry using WMI in VB.NET (threadsafe)

    I wasn't really sure where to put this posting. I built a VB.NET class to use for interacting with the registry on a remote computer. Since it uses the built in Management Objects in VB.NET it should be safe to use in a multi-threaded application.

    I'm looking for people to basically tear my code apart and tell me where I've gone wrong or where I can improve it (make it more intuitive, efficient, etc). I know there are a few places right off the bat to be improved but before I go too crazy re-coding it, I want to get some feedback.

    I got frustrated trying to find code online to perform basic registry functions so after compiling all my research I built a class I can re-use. Since, I couldn't find anything like this maybe it will help someone else also. I designed it to accept a management scope object as well. Uses a reference to System.Management

    There's too much code to post it inline so I attached a zip file.

    *****[EDIT: I'm removing the attachment for now. There was a small bug that was easily fixed, but I want to attach a new version that is almost finished.]*****
    Last edited by Chris H; Feb 27th, 2006 at 12:33 PM.
    VB.NET 2005 Express with .Net 2.0
    C# 2010 .Net 4.0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width