Using Dropnet (dropbox api). I can upload the file as follows:
DropNet.DropNetClient dc = new DropNet.DropNetClient("*************", "g86p9959v9tvg49"); dc.Login(" jain@gmail.com ", "********"); byte[] rawData = File.ReadAllBytes("Ionic.Zip.dll"); dc.UploadFile("Public", "Ionic.Zip.dll",rawData ); Console.WriteLine(dc.Account_Info().quota_info.quota/(1024*1024));
Is there a way to have a progress bar with this? It says here:
You can work out something yourself - you know how big the files are; you know how much you sent or received so far, the rest are basic math :)
How do I know how much data has been sent? any help please?
thanks
Edit: The download method returns - DropNet.Models.DropNetResult.statuscode object System.net.httpstatuscode. This is true? Should I somehow use this thing to make a progress bar?
source share