I create a WebRequest
in C#:
var httpWebRequest = (HttpWebRequest)WebRequest.Create("http://myURL");
The URL is a request and may get big. Actually, depending on what the user does, I have no control over the size.
To prevent a case where the request is too long, I'd like to parse it.
Was is the maximum lenght of a string
I can use to create a valid WebRequest
?