共用方式為


Utility.IsHttps Method

Definition

Overloads

IsHttps(String)

Returns whether the input string is https.

IsHttps(Uri)

Returns whether the input uri is https.

IsHttps(String)

Returns whether the input string is https.

public static bool IsHttps (string address);
static member IsHttps : string -> bool
Public Function IsHttps (address As String) As Boolean

Parameters

address
String

The input string.

Returns

Remarks

true if the input string is https; otherwise, false.

Applies to

IsHttps(Uri)

Returns whether the input uri is https.

public static bool IsHttps (Uri uri);
static member IsHttps : Uri -> bool
Public Function IsHttps (uri As Uri) As Boolean

Parameters

uri
Uri

Uri.

Returns

true if the input uri is https; otherwise, false.

Applies to