Hi All,
I have an application running in folder A.
This application is using a dll (C#) located in folder B.
I want a sollution that inside the dll to be able to find
(know) the path of the dll (C:\...path...\B).
Inside the dll to find out his own location.
Something simmilar with
System.Environment.GetDirectory . This will retrieve the
path of the calling application (c:\...\A) , but not the
path to the Dll (c:\...\B).
Thanks.
Cristi
Mattias Sj?gren - 24 Oct 2003 11:07 GMT
>This application is using a dll (C#) located in folder B.
>I want a sollution that inside the dll to be able to find
>(know) the path of the dll (C:\...path...\B).
>Inside the dll to find out his own location.
Sounds like you want to use the Assembly.Location property.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/
Please reply only to the newsgroup.