HttpWorkerRequest.ReadEntityBody Method (Byte[], Int32, Int32)

Reads request data from the client (when not preloaded) by using the specified buffer to read from, byte offset, and maximum bytes.

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

public:
virtual int ReadEntityBody (
	array<unsigned char>^ buffer, 
	int offset, 
	int size
)
public int ReadEntityBody (
	byte[] buffer, 
	int offset, 
	int size
)
public function ReadEntityBody (
	buffer : byte[], 
	offset : int, 
	size : int
) : int
Not applicable.

Parameters

buffer

The byte array to read data into.

offset

The byte offset at which to begin reading.

size

The maximum number of bytes to read.

Return Value

The number of bytes read.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: