UrlHelper.IsLocalUrl Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

IsLocalUrl(String)

Returns a value that indicates whether the URL is local relative to the application.

public static bool IsLocalUrl(this string url)

Parameters

url
System.String

Returns

System.Boolean

true if the specified URL references the specified host; otherwise, false.