HttpResponseBase::WriteFile Method (String^)

 

Writes the contents of the specified file to the HTTP response output stream as a file block.

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

public:
virtual void WriteFile(
	String^ filename
)

Parameters

filename
Type: System::String^

The name of the file to write to the HTTP output stream.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: