End Google Ads 201810 - BS.net 01 -->
Hi,
I have a desktop application which takes photos and upload to a web server. I am using HttpWebRequest and HttpWebResponse classes to make request and get response. I am showing progressbar on the UI to show upload process. Everything is working fine. But since I am getting the status, when one file gets uploaded completely, my progressbar looks frozen, till the complete file upload.
var responseFromServer = ServiceRequest.GetResponsePhoto("AddPhotos", "ServiceInstances", photoToUpload, serviceInstanceID.ToString());
var response = responseFromServer.Deserialize>();
bool success = (bool)response["success"];
ServiceRequest class takes care of making a request and getting response from server.
HttpWebResponse.GetResponseStream method gives response for the complete upload of one file. I want to know if there is any way I could able to know intermediate upload steps which I can show on the progressbar which makes UI more interactive.
Any help or any sample will be greatly appreciated.
Veena
مواقع النشر (المفضلة)