I want to get the path of my app like: \"\\\\ProgramFiles\\\\myApp\", I try to use the following code:
string path = System.Reflection.Assembly.GetExecuting
More simple than the rest:
using System.IO; using System.Reflection; ... var path = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)