How to detect VISTA OS using VB.Net
I'm loooking for a solution of detecting the VISTA OS using VB.Net. I need it because I have a problem with one of my websites (which was designed especially for Vista) when it is displayed in a browser in XP, so I can load a different stylesheet.
Thank you in advance
It may not be the best solution because it is possible to spoof the useragent but you can use navigator.userAgent to check for the 'Windows NT 6.0' string.
Last edited by mark_W; 06-24-2008 at 05:30 PM.
Originally Posted by mark_W
but the System.Environment will soon become my new best friend!
Thank you very much, Mark.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)