Get Redirection Url based on UserAgent.

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

Syntax

C#
public string GetRedirectUrl(
	string userAgent
)
Visual Basic
Public Function GetRedirectUrl ( 
	userAgent As String
) As String

Parameters

userAgent
Type: System..::..String
User Agent - used for client capability detection.

Return Value

string - Empty if redirection rules are not defined or no match found

Implements

IRedirectionController..::..GetRedirectUrl(String)

See Also