Solved

ASP.NET get assembly Version

Posted on 2010-11-18
12
641 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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 63 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 62 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

Technology Partners: 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!

Question has a verified solution.

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

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

635 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