George2
George2

Reputation: 45761

WebClient upload file issue

I am using VSTS 2008 + C# + .Net 3.5 to develop a console application to upload a file to server. For the WebClient.UploadProgressChanged Event, I am wondering what is the rule when this event will be raised? I read the below document but find no accurate information (like will be raised 10 times during upload or something). Does anyone know what is the rule when this event will be raised?

http://msdn.microsoft.com/en-us/library/system.net.webclient.uploadprogresschanged.aspx

Upvotes: 2

Views: 1001

Answers (1)

grega g
grega g

Reputation: 1089

No, I don't think there is any specific rule. How many times event is called is mostly dependent on how large is the file you are uploading and how fast is your connection.

Upvotes: 1

Related Questions