Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Server OS detection

Status
Not open for further replies.

NTesla1886

Technical User
Mar 14, 2008
62
US
I am writing a VB 2008 Console Application that I need to have determine if it is running on a server OS or not. It does not matter if it is 2000, 2003, or 2008. It only matters if it is running on a Server

What is the easiest way to do this?

Is Environment.OSVersion.Platform on the right track?
 
Yes. That is the direction I would take for OS Version checking.

--------------------------------------------------
Bluto: What? Over? Did you say "over"? Nothing is over until we decide it is! Was it over when the Germans bombed Pearl Harbor? No!
Otter: Germans?
Boon: Forget it, he's rolling.
--------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top