Name

BinaryRead

Synopsis

byteArray = Request.BinaryRead(byteCount)

Returns a byte array containing the number of bytes specified by the byteCount argument.

Parameters

byteArray

An Array variable of type Byte to receive the specified number of bytes from the method.

byteCount

An integer specifying the number of bytes to return.

Notes

This method provides backward compatibility with classic ASP applications. For new development, using other means (such as the Files collection, etc.) is preferable to achieve the results that this method was used for.

Get ASP.NET in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.