ASP BinaryRead Method
The BinaryRead method is used to obtain the data sent from the client to the server as part of the POST request.
Note:Please call Request.Form after calling BinaryRead, otherwise an error will occur.
Grammar
Request.BinaryRead(count)
Parameter | Paglalarawan |
---|---|
count | Mandahil. Tumutukoy sa kung anong bilang ng bybtes na kailangang baintindihan mula sa kustomer. |
Egemplo
Ang halimbawa sa ibaba ay gumagamit ng BinaryRead method upang ilagay ang nilalaman ng request sa isang ligtas na array:
<% dim a,b a=Request.TotalBytes b=Request.BinaryRead(a) %>