This documentation is archived and is not being maintained.

HttpWorkerRequest.SendResponseFromFile Method

Adds the contents of a file to the response.

Overload List

Adds the contents of the specified file to the response and specifies the starting position in the file and the number of bytes to send.

[Visual Basic] Overloads Public MustOverride Sub SendResponseFromFile(IntPtr, Long, Long)
[C#] public abstract void SendResponseFromFile(IntPtr, long, long);
[C++] public: virtual void SendResponseFromFile(IntPtr, __int64, __int64) = 0;
[JScript] public abstract function SendResponseFromFile(IntPtr, long, long);

Adds the contents of the specified file to the response and specifies the starting position in the file and the number of bytes to send.

[Visual Basic] Overloads Public MustOverride Sub SendResponseFromFile(String, Long, Long)
[C#] public abstract void SendResponseFromFile(string, long, long);
[C++] public: virtual void SendResponseFromFile(String*, __int64, __int64) = 0;
[JScript] public abstract function SendResponseFromFile(String, long, long);

See Also

HttpWorkerRequest Class | HttpWorkerRequest Members | System.Web Namespace

Show: