Link to home
Start Free TrialLog in
Avatar of darkxer878
darkxer878

asked on

c# WebClient timeout

Hello everyone,
           I am looking for a solution to a C# WebClient timeout issue.
           WebClient appears to have no way of timing out.
           Currently using Thread.Start to launch methods which call WebClient, using Thread.Join(MILLISECONDS) for a timeout.

          Using Thread.Start feels like overkill for my needs.
          (I am hitting 100's of devices using credentials and a simple HTTP request and simply need a way to timeout within 10 seconds)
Thanks :)
ASKER CERTIFIED SOLUTION
Avatar of jgordos
jgordos
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial