asp.net.ph

HttpWorkerRequest.SendResponseFromFile Method ( String, Int64, Int64 )

System.Web Namespace   HttpWorkerRequest Class


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.

[ VB ]
<ComVisible ( False ) >
MustOverride Overloads Public Sub SendResponseFromFile ( _
   ByVal filename As String, _
   ByVal offset As Long, _
   ByVal length As Long _
)

[ C# ]
 [ ComVisible ( false ) ] 
public abstract void SendResponseFromFile (
   string filename,
   long offset,
   long length
);

[ C++ ]
 [ ComVisible ( false ) ] 
public: virtual void SendResponseFromFile (
   String* filename,
   __int64 offset,
   __int64 length
) = 0;

[ JScript ]
public ComVisible ( false ) 
abstract function SendResponseFromFile (
   filename : String,
   offset : long,
   length : long
);

Parameters

filename
The name of the file to send.
offset
The starting position in the file.
length
The number of bytes to send.
See Also

HttpWorkerRequest Members   HttpWorkerRequest.SendResponseFromFile Overload List Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph