September 19, 2008
Getting the file path of an assembly
I can never remember how to get the file path of a .NET Framework assembly, so I thought I'd post it here once and for all.
string strProgramPath = typeof(Program).Assembly.Location;
That is all.
Posted by Ed Ball at September 19, 2008 2:15 PM
TrackBack URL for this entry: