Interface IIpAddressUtilities
Provides utility methods for working with IP addresses.
Namespace: Umbraco.Cms.Core.Services
Assembly: Umbraco.Core.dll
Syntax
public interface IIpAddressUtilities
Methods
View SourceIsAllowListed(IPAddress, string)
Determines whether the specified client IP address is in the allow list.
Declaration
bool IsAllowListed(IPAddress clientIpAddress, string allowedIpString)
Parameters
| Type | Name | Description |
|---|---|---|
| IPAddress | clientIpAddress | The client IP address to check. |
| string | allowedIpString | The allowed IP string pattern to match against. |
Returns
| Type | Description |
|---|---|
| bool |
|