Click or drag to resize
DatabaseReader Constructor (String, FileAccessMode)
Initializes a new instance of the DatabaseReader class.

Namespace: MaxMind.GeoIP2
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 2.7.1
Syntax
public DatabaseReader(
	string file,
	FileAccessMode mode = FileAccessMode.MemoryMapped
)

Parameters

file
Type: SystemString
The MaxMind DB file.
mode (Optional)
Type: MaxMind.DbFileAccessMode
The mode by which to access the DB file.
See Also