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: 3.0.0
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