System.Web.HttpWorkerRequest.GetPreloadedEntityBody Method

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

Syntax

public virtual byte[] GetPreloadedEntityBody ()

Returns

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

Remarks

This method should be invoked prior to calling HttpWorkerRequest.ReadEntityBody(byte[], int) as the web server implementing this class might have loaded some data in advance.

See also: HttpWorkerRequest.HasEntityBody() and HttpWorkerRequest.IsEntireEntityBodyIsPreloaded().

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0