c#// Sets current working directory to the .exe path// string strExeFilePath = System.Reflection.Assembly.GetExecutingAssembly().Location;string workingDir = AppContext.BaseDirectory;// Check if ffmpeg directory exists in working directorybool ffmpegDirExists = Directory.Exists("ffmpeg");if (!ffmpegDirExists){ Directory.CreateDirectory("ffmpeg");}// Check if tmp directory existsbool tmpDirExists = Directory.Exists("tmp");if (!tmpDirExists){ Directory.CreateDirectory("tmp");}