共用方式為


HttpRequest.IsHttps 屬性

定義

如果 RequestScheme 為 HTTPs,則會傳回 true。

public:
 abstract property bool IsHttps { bool get(); void set(bool value); };
public abstract bool IsHttps { get; set; }
member this.IsHttps : bool with get, set
Public MustOverride Property IsHttps As Boolean

屬性值

如果此要求使用 https,則為 true,否則為 false。

適用於