//My authorized DriveService if (_service == null) return; //Clean up files older than 1 day List<File> fileList = Utilities.RetrieveAllFiles(_service); if (fileList.Count == 0) return; int counter = 0; foreach (File item in fileList) { if (ForDeletion(item)) { _service.Files.Delete(item.Id).Fetch(); } counter++; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)