Locating the Executing Assembly on the .Net Compact Framework

Had some time today to familiarize 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 after some research.

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

Marc