Open this page in the API Guide

INetworkHelperService.IsSecureConnection Method (Boolean, IDictionary<String, String>, IPAddress)

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 (25.1.0.1000)
Syntax
bool IsSecureConnection(
	bool isSecureConnection,
	IDictionary<string, string?> requestHeaders,
	IPAddress? remoteIpAddress
)

Parameters

isSecureConnection
Type: System.Boolean
A value indicating whether the HTTP request indicates that it is already secure.
requestHeaders
Type: System.Collections.Generic.IDictionary<String, String>
The request headers (keys must be case-insensitive).
remoteIpAddress
Type: System.Net.IPAddress
The IP address associated with the request.

Return Value

Type: Boolean
true if the connection is secure; otherwise, false.
Remarks
This method calls the overload with a value of true for the requireTrustedProxy parameter.
See Also