GetModuleFileDirectory() public static method

Return only the directory ending with "\" which contains the current executable file
public static GetModuleFileDirectory ( ) : String
return String
Example #1
0
 /// <summary>
 /// Return the path of the executable
 /// </summary>
 /// <returns>the path of the executable</returns>
 public static string GetApplicationPath()
 {
     //return Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) + "\\";
     return(FolderHelper.GetModuleFileDirectory());
 }