Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, May 22, 2012

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

User Rating!

Home > Search > Knowledge Base > C-Sharp > Miscellaneous
BETA-HOWTO: Determine OS Service Pack Level in C# .NET (Q304721)        
Total Hits: 572  |  Today: 0       Rating:  
Read Reviews | Write Review | Your Rating: 

The OSVersion property that is provided for obtaining operating system information does not contain a member that provides service pack information. If you want to determine what service pack is installed, you must call the GetVersionEx API function directly. Normally it is better to avoid this practice--the .NET Framework provides access to the underlying API sets in a much more consistent (and easier to use) manner than calling the individual API functions. When it is necessary to call an API function directly, it can be done through the .NET Framework's Interop layer. The code in this article provides a method, GetService..

DevASP.Net users Rating
What is your opinion?
Is this your listing?

    If this is your listing and you like to add the rating box
    displayed on the right side on your site you can use the following code.

Go Back
DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net