HttpResponseBase.WriteFile Method (String, Int64, Int64)
.NET Framework (current version)
Writes the specified file to the HTTP response output stream.
Assembly: System.Web (in System.Web.dll)
abstract WriteFile : filename:string * offset:int64 * size:int64 -> unit override WriteFile : filename:string * offset:int64 * size:int64 -> unit
Parameters
- filename
-
Type:
System.String
The name of the file to write to the HTTP output stream.
- offset
-
Type:
System.Int64
The position in the file where writing starts.
- size
-
Type:
System.Int64
The number of bytes to write, starting at offset.
| Exception | Condition |
|---|---|
| NotImplementedException | Always. |
.NET Framework
Available since 3.5
Available since 3.5
Show: