SimpleWorkerRequest::SendResponseFromFile Method

 

Adds the contents of a file to the response.

Namespace:   System.Web.Hosting
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodSendResponseFromFile(IntPtr, Int64, Int64)

Adds the contents of the file with the specified handle to the response and specifies the starting position in the file and the number of bytes to send.(Overrides HttpWorkerRequest::SendResponseFromFile(IntPtr, Int64, Int64).)

System_CAPS_pubmethodSendResponseFromFile(String^, Int64, Int64)

Adds the contents of the file with the specified name to the response and specifies the starting position in the file and the number of bytes to send.(Overrides HttpWorkerRequest::SendResponseFromFile(String^, Int64, Int64).)

Return to top
Show: