OwinRequest.IsSecure Property

 

Returns true if the owin.RequestScheme is https.

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

public virtual bool IsSecure { get; }
public:
property bool IsSecure {
    virtual bool get();
}
abstract IsSecure : bool with get
override IsSecure : bool with get
Public Overridable ReadOnly Property IsSecure As Boolean

Property Value

Type: System.Boolean

true if this request is using https; otherwise, false.

Implements

IOwinRequest.IsSecure

See Also

OwinRequest Class
Microsoft.Owin Namespace

Return to top