16 bool exists = Directory.Exists(folder);
19 Directory.CreateDirectory(folder);
28 DirectoryInfo downloadedMessageInfo =
new DirectoryInfo(imageFolder);
30 foreach (FileInfo file
in downloadedMessageInfo.GetFiles())
static void CreatePathIfNotExisting(string folder)
Creates the path if not existing.
static void DeleteAllFilesInFolder(string imageFolder)
Deletes all files in folder.