Marcelo Camarate
asked on
ASP.NET get assembly Version
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
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
Is it Windows 7? It would be 3.5 probably.
ASKER
Hi CodeCruiser, Thanks for your reply.
Initially yes. Why? Is there any difference between the Operational Systems to get this information?
Regards, Camarate
Initially yes. Why? Is there any difference between the Operational Systems to get this information?
Regards, Camarate
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.
ASKER
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
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
Hi,
Me.Text = My.Application.Info.Versio n.ToString
Me.Text = My.Application.Info.Versio
Use the Request.ServerVariables("S erver_Soft ware")
ASKER
Hi savic7uk, thanks for ypur reply.
But the command My.Application.Info.Versio n.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
But the command My.Application.Info.Versio
Regards, Camarate
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi CodeCruiser, Thank for your reply.
Yes. It's a web application.
About your last sugestion, to use Request.ServerVariables("S erver_Soft ware") , it shown the IIS version (Micrisoft-IIS/7.5) and not the web application version.
Regards, Camarate
Yes. It's a web application.
About your last sugestion, to use Request.ServerVariables("S
Regards, Camarate
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.