Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

Note: This method is new in the .NET Framework version 2.0.

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 (
	byte[] buffer,
	int offset,
	int size
)
public int ReadEntityBody (
	byte[] buffer, 
	int offset, 
	int size
)
public function ReadEntityBody (
	buffer : byte[], 
	offset : int, 
	size : int
) : int

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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2015 Microsoft