HttpResponse::TransmitFile Method (String^)
.NET Framework (current version)
Writes the specified file directly to an HTTP response output stream, without buffering it in memory.
Assembly: System.Web (in System.Web.dll)
Parameters
- filename
-
Type:
System::String^
The name of the file to write to the HTTP output.
| Exception | Condition |
|---|---|
| ArgumentNullException | The filename parameter is null |
.NET Framework
Available since 1.1
Available since 1.1
Show: