Skip to main content

HOW TO: Determine the Executing Application's Path

HOWTO: ExecutingAppPath

path = System.IO.Path.GetDirectoryName
(System.Reflection.Assembly.GetExecutingAssembly().
GetName().CodeBase );

Comments