Table of Contents

Class Url

Namespace
C4.Net.Util
Assembly
C4.Net.Core.dll

Provides helpers for validating URL strings.

public class Url
Inheritance
Url
Inherited Members

Methods

IsUrl(string)

Determines whether a string can be parsed as an absolute URL.

public static bool IsUrl(string urlAsString)

Parameters

urlAsString string

The string to validate.

Returns

bool

true when the string is a non-empty absolute URL; otherwise, false.