C# Set method timeout using Generics(kossovsky.net)
submitted by
kossovsky(90) 2 years, 10 months ago
I’m pretty sure all of you know the WebRequest and it’s derived class HttpWebRequest.
And what a marvelous property both of them have – the TimeOut.
Yesterday I had to write some app that reads files located on some remote computer.
As I knew already this ins’t such a good practice, because your code can just hang/freeze...
|category: C#
|Views: 23
tags:
C# another
Everyones tags:
Your Tags: