Table of Contents

Method IsValidUrl

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

IsValidUrl(string?, UriKind)

Validates url address.

public static bool IsValidUrl(string? url, UriKind urlKind = UriKind.Absolute)

Parameters

url string

Url address.

urlKind UriKind

Url kind.

Returns

bool

true if url is in a valid format; false otherwise.