Read registry from a remote computer

  • (2 Pages)
  • +
  • 1
  • 2

15 Replies - 837 Views - Last Post: 26 October 2017 - 08:56 AM Rate Topic: -----

#16 IronRazer  Icon User is offline

  • Custom Control Freak
  • member icon

Reputation: 1446
  • View blog
  • Posts: 3,682
  • Joined: 01-February 13

Re: Read registry from a remote computer

Posted 26 October 2017 - 08:56 AM

Glad it helped. 8)

As a side note, if there where more key values you needed to read, you could create a function in your class that you pass the ManagementClass (mc) and a string of the Value name to. Then have it return a String of the key value. That could eliminate the repetitive code. Probably not worth it if you are only retrieving 2 values but, with 3, or 4, or more it would be.
Was This Post Helpful? 1
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2