473,511 Members | 15,630 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

To retrieve version of assembly on web server

Hi All,

I am trying to get the version of the assembly which
resides on the web server.

Right now I gotto know how to get the version of the
assembly present on my physical directory :

System.Reflection.AssemblyName.GetAssemblyName
("C:\vcoclient\test.dll").Version.ToString();

But I want something like this

System.Reflection.AssemblyName.GetAssemblyName
("http://localhost/vcoclient/test.dll").Version.ToString();

This says URL is not supported.

Can someone please suggest the alternative..

Regards,
-Reetu
Nov 22 '05 #1
1 1514
There's no way you're going to do that; it would be a huge security risk.

You need to go in through a file share (if this is inside your network) or
modify the DLL so that it somehow reports its version numbers and any other
information you might need.
--
Klaus H. Probst, MVP
http://www.vbbox.com/
"Reetu" <an*******@discussions.microsoft.com> wrote in message
news:20*****************************@phx.gbl...
Hi All,

I am trying to get the version of the assembly which
resides on the web server.

Right now I gotto know how to get the version of the
assembly present on my physical directory :

System.Reflection.AssemblyName.GetAssemblyName
("C:\vcoclient\test.dll").Version.ToString();

But I want something like this

System.Reflection.AssemblyName.GetAssemblyName
("http://localhost/vcoclient/test.dll").Version.ToString();

This says URL is not supported.

Can someone please suggest the alternative..

Regards,
-Reetu

Nov 22 '05 #2

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

Similar topics

1
371
by: Reetu | last post by:
Hi All, I am trying to get the version of the assembly which resides on the web server. Right now I gotto know how to get the version of the assembly present on my physical directory : ...
12
2014
by: Russell Stevens | last post by:
Should be trivial - I want to detect the program version so that I can take steps to update things to the current version. Pretty simple - just use Application.ProductVersion So I install the...
1
3062
by: Eddy Fuchs | last post by:
Hi folks, I'm searching on this issue since a couple of days: How do I programmatically retrieve the version of an installed program? Is there a possibility to retrieve it via the local MSI...
3
1415
by: Marty | last post by:
Hi, How can I retrieve the file version of another file outside my current assembly? Thank you! Marty
5
7730
by: wenning | last post by:
Hello, I am struggling with a website on a W2K3 server which has the actual content on a NAS server (also W2K3 based). The servers doesn't run in a domain and arent intended to. I did make...
2
3817
by: Steve Barnett | last post by:
I'm trying to put together a class that retrieves version information from my assembly and am having a problem. The code below happily retrieves the AssemblyTitle and AssemblyDescription but fails...
8
3486
by: schaf | last post by:
Hi Ng! My application (version 1 a1) communicates with a service (version 1 s1). Now I would like to update the service and create a service version 2 (s2). The new function calls within s2 are...
5
9433
by: =?Utf-8?B?QXhlbCBEYWhtZW4=?= | last post by:
Hi, I've created a class library assembly containing several string resource files, like: - TableColumns.resx - TableColumns.de.resx - General.resx - General.de.resx
2
17680
by: rajendiran | last post by:
project is working fine in localhost. when i upload server i got the error Server Error in '/' Application. -------------------------------------------------------------------------------- ...
7
2663
by: =?Utf-8?B?UVNJRGV2ZWxvcGVy?= | last post by:
I have a C# logging assembly with a static constructor and methods that is called from another C# Assembly that is used as a COM interface for a VB6 Application. Ideally I need to build a file...
0
7242
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7138
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
7418
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...
0
7508
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5662
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,...
0
4737
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
3222
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...
0
1572
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
446
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.