Click or drag to resize
HttpRequestExtensionsGetEffectiveUrl Method (Uri, Boolean)
Returns effective URL with correct port number based on IsSSL property for Url property.

Namespace: CMS.Helpers.Extensions
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static Uri GetEffectiveUrl(
	Uri url,
	bool isSecureConnection
)

Parameters

url
Type: SystemUri
Url of current request.
isSecureConnection
Type: SystemBoolean
Indication whether HTTP connection uses secure sockets.

Return Value

Type: Uri
Remarks
This API supports the framework infrastructure and is not intended to be used directly from your code.
See Also