INetworkHelperServiceIsSecureConnection Method (Boolean, IDictionaryString, String, IPAddress, Boolean) | 
 
            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.3.0.1000)
Syntaxbool IsSecureConnection(
	bool isSecureConnection,
	IDictionary<string, string?> requestHeaders,
	IPAddress? remoteIpAddress,
	bool requireTrustedProxy
)
Function IsSecureConnection ( 
	isSecureConnection As Boolean,
	requestHeaders As IDictionary(Of String, String),
	remoteIpAddress As IPAddress,
	requireTrustedProxy As Boolean
) As Boolean
bool IsSecureConnection(
	bool isSecureConnection, 
	IDictionary<String^, String^>^ requestHeaders, 
	IPAddress^ remoteIpAddress, 
	bool requireTrustedProxy
)
abstract IsSecureConnection : 
        isSecureConnection : bool * 
        requestHeaders : IDictionary<string, string> * 
        remoteIpAddress : IPAddress * 
        requireTrustedProxy : bool -> bool 
Parameters
- isSecureConnection
 - Type: SystemBoolean
A value indicating whether the HTTP request indicates that it is already secure. - requestHeaders
 - Type: System.Collections.GenericIDictionaryString, String
The request headers (keys must be case-insensitive). - remoteIpAddress
 - Type: System.NetIPAddress
The IP address associated with the request. - requireTrustedProxy
 - Type: SystemBoolean
                A value indicating whether a trusted proxy server is required when HTTP headers (e.g. X-Forwarded-Proto) are
                used to determine the result.
             
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
            or requireTrustedProxy is ).
            
See Also