Inheriting from the web client class
Posted
by robUK
on Stack Overflow
See other posts from Stack Overflow
or by robUK
Published on 2009-05-18T06:10:27Z
Indexed on
2010/04/11
23:03 UTC
Read the original article
Hit count: 362
inheritance
|c#
Hello,
C# 2008
I am not sure how much work there is to inheriting from the web client class.
Currently I am using it in my project. And I can't change to anything else. The customer would like to have a timeout after a certain period of time. The web client doesn't have this.
So rather than re-invent the wheel, I am thinking of inheriting from the web client and adding this property.
Do you think this is a suitable solution? Could it mean more work just to add this. What is the easiest way to go about this?
Many thanks,
© Stack Overflow or respective owner