SIMIN Posted January 5, 2009 Posted January 5, 2009 Hi everyone, How can I detect if my current OS which my program is running under, is Windows Vista? Please note that there are 2 versions of Vista: Vista and Vista SP1. The build number of Vista SP1 is the same as Windows Server 2008 and that makes the problem! I just want to make sure my OS is vista?! Please help me :) Thanks all... Quote
SIMIN Posted January 5, 2009 Author Posted January 5, 2009 System.Environment.OSVersion The build number of Vista SP1 is the same as Windows Server 2008 and that makes the problem! Quote
Diesel Posted January 5, 2009 Posted January 5, 2009 Weird. Read the registry keys: http://www.mydigitallife.info/2007/05/23/how-to-get-actual-build-and-revision-number-of-windows-vista-or-longhorn-server-installed/ There you can get the product name, Vista or Server, etc. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.