INetworkHelperServiceIsSecureConnection Method (HttpRequestBase) |
Determines whether the specified request uses a secure (HTTPS) connection from the point-of-view of
the browser.
Namespace:
Dundas.BI.Services
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (8.0.2.1001)
Syntaxbool IsSecureConnection(
HttpRequestBase request
)
Function IsSecureConnection (
request As HttpRequestBase
) As Boolean
bool IsSecureConnection(
HttpRequestBase^ request
)
abstract IsSecureConnection :
request : HttpRequestBase -> bool
Parameters
- request
- Type: System.WebHttpRequestBase
The HTTP request.
Return Value
Type:
Boolean if the connection is secure; otherwise,
.
Remarks
In addition to IsSecureConnection, this method considers the values
of the X-Forwarded-Proto and X-Forwarded-Protocol (as long as the IP address is a trusted proxy IP).
See Also