How to determine how large the Request.Form object is?

I am making a web service, and part of it includes providing various maximum sizes of forms on different pages.

Besides running through the Form object and executing .Length on all lines, is there an easy way to quickly determine the size of the submitted forms? In particular, in the context of a POST request.

+6
source share
1 answer

Is this an ASMX web service? Then what about Request.TotalBytes ?

+2
source

Source: https://habr.com/ru/post/889420/


All Articles