using System.IO;

strTempWorkingLocation = System.Configuration.ConfigurationManager.AppSettings["TempWorkingLocation"].ToString();
                if (Directory.Exists(strTempWorkingLocation))
                {
                    Directory.Delete(strTempWorkingLocation, true);
                }

                Directory.CreateDirectory(strTempWorkingLocation);
Last modified: June 24, 2019

Author

Comments

Write a Reply or Comment