Getting a normalized app path info.

  • Thread starter Thread starter Frank Rizzo
  • Start date Start date
F

Frank Rizzo

System.Reflection.Assembly.GetExecuting().GetName().CodeBase return the path
in URL format.

file:///C:/Code/.../MyFile.DLL

Is there a function within the framework to return the standard path
(c:\winnt\...\x.dll) or a function to convert the URL path to a regular
path?

Side question. Can I use the URL path format to open files with the stream
classes?

Thanks
 
Back
Top