Writes the contents of a file back to the client.
- filename
- A file to send back.
If you need to send the contents of a temporary file, consider using the System.Web.HttpResponse.Write(string,bool) method to read the contents of the file into memory.
Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0