Gets the content of the specified file.

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

Syntax

C#
Stream GetFileContent(
	IFileInfo file
)
Visual Basic
Function GetFileContent ( 
	file As IFileInfo
) As Stream

Parameters

file
Type: DotNetNuke.Services.FileSystem..::..IFileInfo
The file to get the content from.

Return Value

A stream with the content of the file.

See Also