Answers for "c# get program directory"

C#
6

c# get script directory

System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);
Posted by: Guest on August-17-2020
0

C# get project directory

string wanted_path = Path.GetDirectoryName(Path.GetDirectoryName(System.IO.Directory.GetCurrentDirectory()));
Posted by: Guest on October-15-2021
0

c# get script directory

string appPath = System.IO.Path.GetDirectoryName(Application.ExecutablePath);
Posted by: Guest on September-20-2020

C# Answers by Framework

Browse Popular Code Answers by Language