public async Task DoUpload(string PathFile, string GDriveFolder = null, string MimeType = "application/octet-stream") { Console.WriteLine("Iniciando Upload"); GoogleServiceController GSC = new GoogleServiceController(); DriveService DS = GSC.GetDriveService(); DriveController dc = new DriveController(DS); string GDriveFolderID = null; if (!string.IsNullOrEmpty(GDriveFolder)) { GDriveFolderID = await CreateGDriveDir(GDriveFolder); } await dc.UploadFile(PathFile, GDriveFolderID, MimeType); }