Writes the content of the specified file into the specified stream.

Namespace: DotNetNuke.Services.FileSystem
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
void WriteFile(
	IFileInfo file,
	Stream stream
)
Visual Basic
Sub WriteFile ( 
	file As IFileInfo,
	stream As Stream
)

Parameters

file
Type: DotNetNuke.Services.FileSystem..::..IFileInfo
The file to write into the stream.
stream
Type: System.IO..::..Stream
The stream to write to.

See Also