UriExtensions Class

Provides extension methods for Uri.

public static class UriExtensions

Methods

NameDescription
IsHttpOrHttps(Uri)Determines whether the URI uses the HTTP or HTTPS scheme.

IsHttpOrHttps(Uri)

UriExtensions.cs

Determines whether the URI uses the HTTP or HTTPS scheme.

public static bool IsHttpOrHttps(this Uri uri)

Parameters

uri Uri

Returns

bool