System.Web.Hosting.SimpleWorkerRequest.SendResponseFromFile Method

Adds the contents of the file with the specified name to the response and specifies the starting position in the file and the number of bytes to send.

Syntax

public override void SendResponseFromFile (string filename, long offset, long length)

Parameters

filename
The name of the file to send.
offset
The starting position in the file.
length
The number of bytes to send.

Remarks

Documentation for this section has not yet been entered.

Requirements

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