I am writing a class library to perform operations on a site outside my control. The site is accepting form-posts as input.
Can anyone tell me if there is a difference between these two methods except the form of the data to upload?
System.Net.WebClient.UploadData(Uri, Byte[]);
System.Net.WebClient.UploadValues(String, NameValueCollection);
I have no objections to arrange data either way, but started to wonder what the difference actually is, and it is still nagging me in some strange way, not knowing if there is a difference.