For example, I want to intercept HttpWebRequest.GetResponse() ,but always failed.
And I do a lot of reaserch and find out that classes and methods that inherit from MarshalByRefObject are not patchable at runtime. Since MarshalByRefObject acts as a proxy class.
Is there really no way to solve it?
For example, I want to intercept HttpWebRequest.GetResponse() ,but always failed.
And I do a lot of reaserch and find out that classes and methods that inherit from MarshalByRefObject are not patchable at runtime. Since MarshalByRefObject acts as a proxy class.
Is there really no way to solve it?