473,385 Members | 1,506 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Checking OS Version from C# WinForm App

This seems like it ought to be easy, but I couldn't find anything for C#. I
already knew about _MSC_VER >= 1400, but I'm not doing C++ much anymore. I
need to verify XP SP2 or better installed.

Thanks,
--
Randy
Aug 18 '06 #1
2 2407
System.Environment.OSVersion

"randy1200" wrote:
This seems like it ought to be easy, but I couldn't find anything for C#. I
already knew about _MSC_VER >= 1400, but I'm not doing C++ much anymore. I
need to verify XP SP2 or better installed.

Thanks,
--
Randy
Aug 18 '06 #2
Thanks for the answer, and thanks for being gracious and not pointing out my
crossed wires. _MSC_VER was for the Visual Studio version.
--
Randy
"Marc" wrote:
System.Environment.OSVersion

"randy1200" wrote:
This seems like it ought to be easy, but I couldn't find anything for C#. I
already knew about _MSC_VER >= 1400, but I'm not doing C++ much anymore. I
need to verify XP SP2 or better installed.

Thanks,
--
Randy
Aug 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mathew | last post by:
Hi How do you specfiy the version of the .net runtime libraries loaded for a ..net controls hosted in Internet Explorer 6? I have a control that's designed to work with .NET 1.1, but after...
6
by: James | last post by:
I have two question regarding the version resource that is generated for a satellite assembly. 1) I have a file in my C# console app project called StringResources.en-US.resx. When I build the...
3
by: Vish | last post by:
Hello, I am passing a string to a spell checking function which performs spell check using word objects. It works fine but even though i have said oWord.Visible = false; the word application...
8
by: Sunil Menon | last post by:
Dear All, We are developing applications in ASP.Net...in one of our applications we would like to use a GridControl...we have tried to use a Server-Side Grid control but found the speed to be an...
10
by: Al Smith | last post by:
Hi, Two developers installed 2005 beta on their machines along side .net 2003. Part of our web application then started behaving strangely, for them. We ran aspnet_regiis to force...
3
by: salman | last post by:
hello i want to start/install any service or demean with my software (during installation or running software) for future updates. how can i do this? can i include any thread or process to...
2
by: jyanmin.fang | last post by:
Hi, In my current project, I need to embed an .NET winform usercontrol in the aspx page (via <Objecttag). This winform usercontrol has an event called DoEvent (void DoEvent()). This winform...
125
by: jacob navia | last post by:
We hear very often in this discussion group that bounds checking, or safety tests are too expensive to be used in C. Several researchers of UCSD have published an interesting paper about this...
1
by: imageguy | last post by:
We are trying to implement a system that checks the version of the application against a version number stored in the database. We don't want the app and the db don't become out of sync. We...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.