Click or drag to resize

Reader Class

Given a MaxMind DB file, this class will retrieve information about an IP address
Inheritance Hierarchy
SystemObject
  MaxMind.DbReader

Namespace:  MaxMind.Db
Assembly:  MaxMind.Db (in MaxMind.Db.dll) Version: 2.6.1
Syntax
public sealed class Reader : IDisposable

The Reader type exposes the following members.

Constructors
  NameDescription
Public methodReader(Stream)
Initialize with Stream. The current position of the string must point to the start of the database. The content between the current position and the end of the stream must be a valid MaxMind DB.
Public methodReader(String)
Initializes a new instance of the Reader class.
Public methodReader(String, FileAccessMode)
Initializes a new instance of the Reader class.
Top
Properties
  NameDescription
Public propertyMetadata
The metadata for the open database.
Top
Methods
  NameDescription
Public methodStatic memberCreateAsync(Stream)
Asynchronously initialize with Stream.
Public methodStatic memberCreateAsync(String)
Asynchronously initializes a new instance of the Reader class by loading the specified file into memory.
Public methodDispose
Release resources back to the system.
Public methodEquals (Inherited from Object.)
Public methodFindT(IPAddress, InjectableValues)
Finds the data related to the specified address.
Public methodFindT(IPAddress, Int32, InjectableValues)
Finds the data related to the specified address.
Public methodFindAllT
Get an enumerator that iterates all data nodes in the database. Do not modify the object as it may be cached. Note that due to caching, the Network attribute on constructor parameters will be ignored.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also