[Mono-list] Assembly.CodeBase

Black Fox black-fox@virtualblackfox.net
Mon, 07 Jun 2004 13:21:16 +0200


> Doens't MS.NET code have an extra '/' afer 'file:' ? I need to isolate
> the URL from the CodeBase, and this way I can't have a way that works
> everywhere. Because Linux I have to remove `file://`, and in win
> `file:///`.

For windows the file:/// is normal, protocol://server/path there is no 
server so the adress begin with file:///.
For linux i don't know.