HttpRequestWrapper.IsSecureConnection Property

 

Gets a value that indicates whether the HTTP connection uses secure sockets (HTTPS protocol).

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public override bool IsSecureConnection { get; }

Property Value

Type: System.Boolean

true if the connection is an SSL connection that uses HTTPS protocol; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show: