views:

89

answers:

0

Hello,

I have a Silverlight application that manages images and associated metadata stored on a server. The user can also load several images in the SL module and upload them to the server. I am using System.Net.WebClient. In that case, 1 asynchronous request is sent per image.

In case the server crashes, I see in Firebug that all the pending upload requests wait forever.

I would like to implement a timeout mechanism in order to stop the pending threads. I see there is no built-in timeout in WebClient. I do not find any workaround for this.

Do you know a way to do implement a timeout in that case ?

Thanks for your help.