/// <summary> /// Vérifie si un dossier existe avant de le creer /// </summary> /// <param name="drive"></param> /// <param name="path"></param> /// <returns></returns> public bool FolderExists(Drive drive, string path, string nameFolder) { try { switch (drive) { case Drive.DP: DBB.FolderExists(path); break; case Drive.GG: Google.FolderExists(nameFolder); break; } return(true); } catch (Exception) { return(false); } }