.Net Goodies
Code snippets and technology news that come across my daily life.
Friday, May 22, 2009
Get Path where the Executable is running from in C#
Option#1
string path1 = System.Windows.Forms.Application.ExecutablePath;
Option#2
String path2 = System.Reflection.Assembly.GetExecutingAssembly().Location;
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment