Export (0) Print
Expand All

HttpResponseBase::TransmitFile Method (String, Int64, Int64)

Writes the specified part of a file to the HTTP response output stream, without buffering it in memory.

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

public:
virtual void TransmitFile(
	String^ filename, 
	long long offset, 
	long long length
)

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.

length
Type: System::Int64

The number of bytes to write, starting at offset.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft