HttpWorkerRequest.GetPreloadedEntityBody Method

Definition

Overloaded. Returns the portion of the HTTP request body that has currently been read.

Overloads

GetPreloadedEntityBody(Byte[], Int32)

Gets the portion of the HTTP request body that has currently been read by using the specified buffer data and byte offset.

GetPreloadedEntityBody()

Returns the portion of the HTTP request body that has already been read.

GetPreloadedEntityBody(Byte[], Int32)

Gets the portion of the HTTP request body that has currently been read by using the specified buffer data and byte offset.

C#
public virtual int GetPreloadedEntityBody(byte[] buffer, int offset);

Parameters

buffer
Byte[]

The data to read.

offset
Int32

The byte offset at which to begin reading.

Returns

The portion of the HTTP request body that has been read.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

GetPreloadedEntityBody()

Returns the portion of the HTTP request body that has already been read.

C#
public virtual byte[] GetPreloadedEntityBody();

Returns

Byte[]

The portion of the HTTP request body that has been read.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1