Writes the contents of a file back to the client.
- filename
- The filename to send back.
- readIntoMemory
- Whether to load the file into the in-memory buffer, or queue the file for sending later.
Sends the contents of the file back to the client. If readIntoMemory is true the contents of the file are loaded into the output buffer, this is convenient if the data to be sent is a temporary file that will be deleted before the request processing is completed.
Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0