c# get current directory

55

get current directory c# \ -

System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);

c# get script directory -

string appPath = System.IO.Path.GetDirectoryName(Application.ExecutablePath);

get execution directory c# -

string logsDirectory = Path.Combine(Environment.CurrentDirectory, "logs");

Comments

Submit
0 Comments