ASP BinaryRead Method
The BinaryRead method is used to obtain the data sent from the client to the server as part of a POST request.
Note:Please call Request.Form after BinaryRead, otherwise an error will occur.
Syntax
Request.BinaryRead(count)
Parameter | Description |
---|---|
count | Required. Specifies how many bytes to read from the client machine. |
Example
The following example uses the BinaryRead method to put the content of a request into a secure array:
<% dim a, b a = Request.TotalBytes b = Request.BinaryRead(a) %>