NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpResponse.WriteFile (String, Boolean)

Writes a file directly to an HTTP content output stream.

[Visual Basic]
Overloads Public Sub WriteFile( _
   ByVal filename As String, _
   ByVal readIntoMemory As Boolean _
)
[C#]
public void WriteFile(
   string filename,
   bool readIntoMemory
);
[C++]
public: void WriteFile(
   String* filename,
   bool readIntoMemory
);
[JScript]
public function WriteFile(
   filename : String,
   readIntoMemory : Boolean
);

Parameters

filename
Name of the file that will be written to the HTTP output.
readIntoMemory
Indicates that file will be written into a memory block.

See Also

HttpResponse Class | HttpResponse Members | System.Web Namespace | HttpResponse.WriteFile Overload List