HttpResponseBase.WriteFile Method (String, Int64, Int64)

 

Writes the specified file to the HTTP response output stream.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

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

Parameters

filename
Type: System.String

The name of the file to write to the HTTP output stream.

offset
Type: System.Int64

The position in the file where writing starts.

size
Type: System.Int64

The number of bytes to write, starting at offset.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: