Registry Key to check Windows Version

  • Thread starter Thread starter ChuckB
  • Start date Start date
C

ChuckB

Is there a registry key that has windows version information in it?
 
Hello, ChuckB!

C> Is there a registry key that has windows version information in it?


Why can't you use Environment.OsVersion.
OperatingSystem object has all the info you need

--
Regards, Vadym Stetsyak
www: http://vadmyst.blogspot.com
 
It's to check remotely. Basically I have a program that goes through an
ip range, checks to see if it's pingable, checks DNS, and checks a
specific registry key. Just thought if I used a registry key to check
the OS version, it would be less code and be faster.
 
Hello ChuckB,

See there HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

C> It's to check remotely. Basically I have a program that goes through
C> an ip range, checks to see if it's pingable, checks DNS, and checks a
C> specific registry key. Just thought if I used a registry key to check
C> the OS version, it would be less code and be faster.
C>
---
WBR,
Michael Nemtsev :: blog: http://spaces.live.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Thanks... Got it all going... now heres another question... is there a
registry key for the MSI version #?
 

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

Back
Top