473,503 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I find out which .net version I'm running?

I need to dyanmically get the version of the .net framework from an ASP.net application (the version that application is running on). Anybody know how to do this

Thanks
Jeremy
Nov 18 '05 #1
4 3936
I think I figured it out...

I'm using:
System.Runtime.InteropServices.RuntimeEnvironment. GetSystemVersion

This seems to work, if there are any other ways please let me know.

Thanks
Nov 18 '05 #2
I think I figured it out...

I'm using:
System.Runtime.InteropServices.RuntimeEnvironment. GetSystemVersion

This seems to work, if there are any other ways please let me know.

Thanks
Nov 18 '05 #3
System.Environment.Version should do that also.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

"Jeremy" <an*******@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
I think I figured it out...

I'm using:
System.Runtime.InteropServices.RuntimeEnvironment. GetSystemVersion

This seems to work, if there are any other ways please let me know.

Thanks
Nov 18 '05 #4
System.Environment.Version should do that also.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

"Jeremy" <an*******@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
I think I figured it out...

I'm using:
System.Runtime.InteropServices.RuntimeEnvironment. GetSystemVersion

This seems to work, if there are any other ways please let me know.

Thanks
Nov 18 '05 #5

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

Similar topics

19
2906
by: rbt | last post by:
Here's the scenario: You have many hundred gigabytes of data... possible even a terabyte or two. Within this data, you have private, sensitive information (US social security numbers) about your...
1
2188
by: Adam Hearn | last post by:
Sorry if this difficult to understand but I'm pulling my hair out and could do with some good ideas please... I've developed an application which in .NET as a Windows service which is simply...
2
553
by: Jeremy | last post by:
I need to dyanmically get the version of the .net framework from an ASP.net application (the version that application is running on). Anybody know how to do this Thanks Jeremy
3
1527
by: 2stepme | last post by:
I am sorry to put this question up (because it has been asked and addressed many times) but I have searched and I been unable to solve my problem. I am running XP PRO Version 2002 SP2 on my...
0
2814
by: Michael R. Pierotti | last post by:
Has anyone seen this error before when trying to make the install on a program. ------ Starting pre-build validation for project 'HafaSMPPInstall' ------ WARNING: Unable to find dependency...
3
1370
by: ds | last post by:
i'm running under win2k trying to implement an ssl socket, and keep getting the error File "C:\Code\Python\ssl\NewsSrc.py", line 67, in connect ssl = socket.ssl(sock, None, None) AttributeError:...
3
11315
by: gogaz | last post by:
Hi, I know query in Subject line "Could not find a part of the path" has been replied before lots of time, but mine is bit different. My web server is windows 2003 R2 with both .net framework...
0
2531
by: mzodell | last post by:
Running Access 2003 with a database in 2000 file format and noticed that the search results differ depending on what version of Access is in use. Users running Access 2000 are able to call the...
2
2644
by: moondaddy | last post by:
I had to repost this because I had to update and change my msdn alias. I will re-ask the question and clarify a few things that were not clear before. This code is all executed on my dev...
0
7093
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7353
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7011
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5596
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5023
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4689
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
747
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
401
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.