|
-
Oct 5th, 2006, 10:55 AM
#1
[RESOLVED] [02/03] Sanity Check (OS Version Numbers)
Is Service Pack 2 represtented in the version number for windows using
Environment.OSVersion.Version.ToString
I can't find a good listing of specific version numbers and windows, and I am working on something that requires the Windows XP Firewall, and I don't even want to bother running the code if they don't have at least SP2 installed.
I get 5.1.2600.0 when I call that code (but I don't have a non SP2 windows machine to run it against to check for a difference)
I know 5.1 means XP, but does 2600 mean SP2? or does that show up on non patched and SP1 machines?
If it does not indicate the service pack level, what can I use?
This specific app is in .NET 2003.
-
Oct 5th, 2006, 11:15 AM
#2
Re: [02/03] Sanity Check (OS Version Numbers)
I found some .NET 2005 code which I can use in 2003 since its an API
http://support.microsoft.com/kb/304722/EN-US/
-
Nov 4th, 2006, 11:57 AM
#3
Re: [RESOLVED] [02/03] Sanity Check (OS Version Numbers)
Oh the shame for not looking on VBF first. 
http://vbforums.com/showthread.php?t=434149
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|