TransmitFile Method (String, Int64, Int64)
Collapse the table of content
Expand the table of content

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.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft