<PackageReference Include="Relativity.Other" Version="10.1.199.4" />

TrustedIPHelper

public class TrustedIPHelper
public const string TRUSTED_PROXIES_SETTING_NAME = "XForwardedForTrustedProxies"

public TrustedIPHelper()

public static bool CheckIPWithPrefix(string clientIPAddress, string trustedIPWithPrefix)

public static bool CheckIPWithSubnetMask(string clientIPAddress, string trustedIP)

public static uint GetUIntegerFromIPAddress(string address)

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

public static string TrimPort(string clientIPAddress)

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