A
alan
Hi,
I am trying to write a class in C# that inherits from the
HttpWebRequest class to allow me to intercept lower level function
calls.
For example, I would like to be able to figure out how long it takes
for the DNS resolution to take place. I assume that somewhere in the
HttpWebRequest (or inside a parent object) a call takes place to
resolve DNS? I would like to override this function call to allow me to
calculate the time taken to complete this process. i.e. grab the time
before the call to resolve the DNS and grab the time when it returns.
Does anyone have any pointers as to where I should start looking?
Thanks in advance
Alan.
I am trying to write a class in C# that inherits from the
HttpWebRequest class to allow me to intercept lower level function
calls.
For example, I would like to be able to figure out how long it takes
for the DNS resolution to take place. I assume that somewhere in the
HttpWebRequest (or inside a parent object) a call takes place to
resolve DNS? I would like to override this function call to allow me to
calculate the time taken to complete this process. i.e. grab the time
before the call to resolve the DNS and grab the time when it returns.
Does anyone have any pointers as to where I should start looking?
Thanks in advance
Alan.