The problem is that if I do Webclient.DownloadStringAsync(Uri)
, while Uri.length very long, I see the error: An exception occurred during a WebClient request
At URI for Webclient is a restriction on the length of the links? What about if the link is very long?
WebClient queueItem_client = new WebClient();
queueItem_client.DownloadStringCompleted += new DownloadStringCompletedEventHandler(queueItem_client_DownloadStringCompleted);
queueItem_client.DownloadStringAsync(execUri);
void queueItem_client_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
{}
In execUri
link length 2234 characters.
if execUri
is composed of about 500 characters, then comes the normal response.