Distinguish between different Windows versions

0.00 avg. rating (0% score) - 0 votes

1. Check if Environment.OSVesion.Platform returns WIN32NT (for Win3.1, Win95, Win98, WinME) or WIN32Windows (for WinNT and later) or WinCE (for Windos Mobile etc.)

2. Check version from Envirnement.OSVersion.Version

Win95: 4.0

Win98: 4.10

WinME: 4.90

NT 3.5: 3.51

NT 4.0: 4.0

Win2000: 5.0

WinXP: 5.1

Win2000: 5.2

Vista/Windows Server 2008: 6.0

Windows Mobile 5: Windows CE 5.1

Windows Mobile 6: Windows CE 5.2

Reference:

http://www.vb-helper.com/howto_net_os_version.html

0.00 avg. rating (0% score) - 0 votes
ToughDev

ToughDev

A tough developer who likes to work on just about anything, from software development to electronics, and share his knowledge with the rest of the world.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>