Click or drag to resize
AbstractFileGetFileUrl Method
Returns URL to file. If can be accessed directly then direct URL is generated else URL with GetFile page is generated.

Namespace: CMS.IO
Assembly: CMS.IO (in CMS.IO.dll) Version: 13.0.131
Syntax
C#
public abstract string GetFileUrl(
	string path,
	string siteName
)

Parameters

path
Type: SystemString
Virtual path starting with ~ or absolute path.
siteName
Type: SystemString
Site name.

Return Value

Type: String
See Also