asp.net - How to override buffer size on InputStream -


i using .net post form on web page http method "post". on server, read data with:

dim mystream new system.io.binaryreader(request.inputstream) bytesread = mystream.read( myobject, lastindex, bytestoread) 

when reading data, buffer size seems arbitrary, , doesn't care value of bytestoread, long it's less remaining stream data size.

is there way of setting buffer size of request.inputstream on page level? i'm suspecting can done @ tcp level?


Comments