Skip to main content
.NET Framework Class Library
HttpResponse..::.WriteFile Method





Writes the specified file directly to an HTTP response output stream.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List
 NameDescription
Public methodWriteFile(String)Writes the contents of the specified file directly to an HTTP response output stream as a file block.
Public methodWriteFile(String, Boolean)Writes the contents of the specified file directly to an HTTP response output stream as a memory block.
Public methodWriteFile(IntPtr, Int64, Int64)Writes the specified file directly to an HTTP response output stream.
Public methodWriteFile(String, Int64, Int64)Writes the specified file directly to an HTTP response output stream.
Top