IsUri Method
Definition
IsUri(string, Action<UriStringOptions>)
Determines whether the specified value is valid by attempting to construct a URI.
public static bool IsUri(string value, Action<UriStringOptions> setup = null)
Parameters
valuestringsetupAction<UriStringOptions>The UriStringOptions which may be configured.
Returns
- bool
trueif the specifiedvalueis a valid URI; otherwise,false.