MagicCMS Documentation

MagicExt..::..GetRandomUrl Method (Uri, String)

Gets a random Url in a folder.

Namespace:  System
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public static Uri GetRandomUrl(
	Uri url,
	string filter
)

Parameters

url
Type: Uri
The URL of the folder where the file is searched
filter
Type: String
Optional filter. (Ex.: "*.png")

Return Value