Getting the Location of the executing Assembly on the .NET Compact Framework

12.04.2007 at 15:09

Had some time today to familirize myself with the .NET Compact Framework. Took me some time to find out how to get the location of the program on the device. Here is what i came up with afer some research.

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

Marc

Comments (0)

There are currently no comments available