364,033 Members | 4865 Browsing Online
Community for Developers & IT Professionals
Bytes IT Community

Registry Key to check Windows Version

ChuckB
P: n/a
ChuckB
Is there a registry key that has windows version information in it?

Oct 3 '06 #1
Share this Question
Share on Google+
4 Replies


Vadym Stetsyak
P: n/a
Vadym Stetsyak
Hello, ChuckB!

CIs 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
Oct 3 '06 #2

ChuckB
P: n/a
ChuckB
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.

Oct 3 '06 #3

Michael Nemtsev
P: n/a
Michael Nemtsev
Hello ChuckB,

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

CIt's to check remotely. Basically I have a program that goes through
Can ip range, checks to see if it's pingable, checks DNS, and checks a
Cspecific registry key. Just thought if I used a registry key to check
Cthe 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


Oct 3 '06 #4

ChuckB
P: n/a
ChuckB
Thanks... Got it all going... now heres another question... is there a
registry key for the MSI version #?


Michael Nemtsev wrote:
Hello ChuckB,
>
See there HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
>
CIt's to check remotely. Basically I have a program that goes through
Can ip range, checks to see if it's pingable, checks DNS, and checks a
Cspecific registry key. Just thought if I used a registry key to check
Cthe 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
Oct 3 '06 #5

Post your reply

Help answer this question



Didn't find the answer to your C# / C Sharp question?

You can also browse similar questions: C# / C Sharp