Mono Class Library: System.Web.HttpResponse Overview | Members

System.Web.HttpResponse.WriteFile Method

Writes a section of a file back to the response stream.

public void WriteFile (string filename, long offset, long size)

Parameters

filename
The filename.
offset
Starting offset in the file.
size
The total number of bytes to send back.

Remarks

This sends the contents of the file to the client.

Requirements

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