Gets the direct Url to the file.

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

Syntax

C#
string GetUrl(
	IFileInfo file
)
Visual Basic
Function GetUrl ( 
	file As IFileInfo
) As String

Parameters

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

Return Value

The direct Url to the file.

See Also