Show / Hide Table of Contents

Interface IIPAddressLocationStore

Provides an abstraction for a store which manages IP address locations.

Inherited Members
System.IDisposable.Dispose()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public interface IIPAddressLocationStore : IDisposable

Methods

FindLocationAsync(IPAddress, CancellationToken)

Finds the IPAddressLocation that matches the remoteIpAddress.

Declaration
Task<IPAddressLocation> FindLocationAsync(IPAddress remoteIpAddress, CancellationToken cancellationToken = default(CancellationToken))
Parameters
IPAddress remoteIpAddress

The remote IPAddress to get the location for.

System.Threading.CancellationToken cancellationToken

The System.Threading.CancellationToken used to propagate notifications that the operation should be canceled.

Returns
System.Threading.Tasks.Task<IPAddressLocation>

The System.Threading.Tasks.Task that represents the asynchronous operation, containing the IPAddressLocation.

Back to top Generated by DocFX