Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.

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

Community Additions

ADD
Show:
© 2015 Microsoft