<PackageReference Include="Relativity.Server.Utility.SDK" Version="5000.2.1" />

kCura.Utility.TrustedIPHelper

public class TrustedIPHelper
Provides methods for verifying IP addresses' trust level.
public const string TRUSTED_PROXIES_SETTING_NAME = "XForwardedForTrustedProxies"

public TrustedIPHelper()

public static bool IsClientIPInTrustedIPsWithWildCards(string clientIPAddress, string[] trustedIPList)

Indicates whether or not the provided ip address is trusted.

public bool IsClientIPAddressTrusted(string trustedIPs, bool forceCheck, string clientIPAddress)

Indicates whether or not the supplied ip address is trusted.