Inheriting from the web client class
- by robUK
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,