HttpRequestWrapper::BinaryRead Method (Int32)

 

Performs a binary read of a specified number of bytes from the current input stream.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
virtual array<unsigned char>^ BinaryRead(
	int count
) override

Parameters

count
Type: System::Int32

The number of bytes to read.

Return Value

Type: array<System::Byte>^

An array that contains the binary data.

Exception Condition
ArgumentOutOfRangeException

count is less than 0.

- or -

count is greater than the number of bytes available.

.NET Framework
Available since 3.5
Return to top
Show: