Class IPAddressLocationOptions
Options for configuring IP address location.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.dll
Syntax
public class IPAddressLocationOptions
Properties
CacheDuration
Gets or sets the duration an IPAddressLocation is cached for a specific IP address. Default is 48 hours.
Declaration
public TimeSpan CacheDuration { get; set; }
Property Value
TimeSpan
|
LocationForPrivateNetwork
Gets or sets the default IPAddressLocation used when a private network IP address is detected.
Declaration
public IPAddressLocation LocationForPrivateNetwork { get; set; }
Property Value
IPAddressLocation
|
SourceInformation
Get or sets raw HTML that will displayed about the source of the location information. This is required by some free data sources.
Declaration
public string SourceInformation { get; set; }
Property Value
String
|