[Mono-dev] HttpWebRequest.DefaultMaximumErrorResponseLength property

Robert Jordan robertj at gmx.net
Thu Jun 17 10:32:57 EDT 2010


On 17.06.2010 13:11, Jim Evans wrote:
>
> I posted this question on mono-list, with no responses. I'm going to try this

No answer means that there is no solution for your problem.

> I could test to see if I am running under Mono, but are there any other
> alternatives here?

No other alternative than this:

if (Type.GetType ("Mono.Runtime") == null)
     HttpWebRequest.DefaultMaximumErrorResponseLength = -1;

Robert



More information about the Mono-devel-list mailing list