This documentation is archived and is not being maintained.

HttpResponse.WriteFile Method

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

Name Description
HttpResponse.WriteFile (String) Writes the specified file directly to an HTTP response output stream.
HttpResponse.WriteFile (String, Boolean) Writes the contents of the specified file into a memory block.
HttpResponse.WriteFile (IntPtr, Int64, Int64) Writes the specified file directly to an HTTP response output stream.
HttpResponse.WriteFile (String, Int64, Int64) Writes the specified file directly to an HTTP response output stream.
Show: