UrlHelper.IsValidUrl Method

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

IsValidUrl(String, UriKind)

Returns a value indicating if the url is valid, given the supplied kind.

public static bool IsValidUrl(this string url, UriKind kind)

Parameters

url
System.String
kind
System.UriKind

Returns

System.Boolean

True if the url is valid, otherwise false.