Monday, May 3, 2010

WPF application executable path

In windows forms, Application.ExecutablePath gives the executable path of the application.

What is the alternative in WPF?



System.Reflection.Assembly.GetExecutingAssembly().Location will give the executable path of the WPF application.

No comments:

Post a Comment