Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

ASP.NET get assembly Version

Posted on 2010-11-18
12
Medium Priority
?
646 Views
Last Modified: 2012-05-10
Hi all,

How can I get the assembly version of the VB ASP.NET that appears in "Programs and Features". To clarify, the language that I'm using is Visual Basic.NET.

Thanks, Camarate
0
Comment
Question by:Marcelo Camarate
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
  • 2
  • +1
12 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34164089
Is it Windows 7? It would be 3.5 probably.
0
 

Author Comment

by:Marcelo Camarate
ID: 34164167
Hi CodeCruiser, Thanks for your reply.

Initially yes. Why? Is there any difference between the Operational Systems to get this information?

Regards, Camarate
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34164265
The reason I said that was that Win7 comes with .NET 3.5 preinstalled. If you are talking about Programs list (Add/Remove programs) the version is displayed in the title of the program.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Marcelo Camarate
ID: 34164386
Hi CodeCruiser, Thanks for your reply.

Sorry but I think that I was no clear in my ask. Then I'll explain better.

I need this information (version) to show in the web page (for exemple: Default.ASPX). Then, I can check that the correct version is being used.

Regards, Camarate
0
 
LVL 3

Expert Comment

by:savic7uk
ID: 34164419
Hi,        
 Me.Text =  My.Application.Info.Version.ToString
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 34164449
Use the Request.ServerVariables("Server_Software")
0
 

Author Comment

by:Marcelo Camarate
ID: 34164456
Hi savic7uk, thanks for ypur reply.

But the command My.Application.Info.Version.ToString get the information that I put in the Assembly Information, not the real version of the install, that I put in the Setup project.

Regards, Camarate
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 252 total points
ID: 34164472
Its a web application right?
0
 

Author Comment

by:Marcelo Camarate
ID: 34164581
Hi CodeCruiser, Thank for your reply.

Yes. It's a web application.

About your last sugestion, to use Request.ServerVariables("Server_Software") , it shown the IIS version (Micrisoft-IIS/7.5) and not the web application version.

Regards, Camarate
0
 
LVL 3

Assisted Solution

by:savic7uk
savic7uk earned 248 total points
ID: 34170941
0
 
LVL 29

Expert Comment

by:Kumaraswamy R
ID: 34387734
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question