Click or drag to resize

ReaderFindT Method (IPAddress, Int32, InjectableValues)

Finds the data related to the specified address.

Namespace:  MaxMind.Db
Assembly:  MaxMind.Db (in MaxMind.Db.dll) Version: 2.4.0
Syntax
public T Find<T>(
	IPAddress ipAddress,
	out int prefixLength,
	InjectableValues injectables = null
)
where T : class

Parameters

ipAddress
Type: System.NetIPAddress
The IP address.
prefixLength
Type: SystemInt32
The network prefix length for the network record in the database containing the IP address looked up.
injectables (Optional)
Type: MaxMind.DbInjectableValues
Value to inject during deserialization

Type Parameters

T

Return Value

Type: T
An object containing the IP related data
See Also