473,508 Members | 2,744 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 1513
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
2007
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
7729
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
7228
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
7128
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
7332
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7058
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
5635
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
5057
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
3206
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
1565
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 ...
1
769
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.