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
You can use Path.GetDirectoryName(string) method passing your original path string as parameter for this. What problem are you trying to solve? Maybe you really need something like working directory?