Example #1
0
        public void StreamtoFile(Google.Apis.Drive.v3.Data.File x)
        {
            FilesResource bung   = new FilesResource(driver);
            MemoryStream  output = new MemoryStream();
            var           stream = new System.IO.MemoryStream();

            bung.Get(x.Id).Download(stream);
            DependencyService.Get <ISave>().Save(x.Name, "application/vnd.ms-excel", stream);
            Application.Current.Properties["Boff"] += "\nDownloaded: " + x.Name;
        }