DatabaseReader Constructor (String, FileAccessMode) |
Namespace:
MaxMind.GeoIP2
Assembly:
MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax public DatabaseReader(
string file,
FileAccessMode mode = FileAccessMode.MemoryMapped
)
Public Sub New (
file As String,
Optional mode As FileAccessMode = FileAccessMode.MemoryMapped
)
public:
DatabaseReader(
String^ file,
FileAccessMode mode = FileAccessMode::MemoryMapped
)
new :
file : string *
?mode : FileAccessMode
(* Defaults:
let _mode = defaultArg mode FileAccessMode.MemoryMapped
*)
-> DatabaseReader
Parameters
- file
- Type: SystemString
The MaxMind DB file. - mode (Optional)
- Type: MaxMind.DbFileAccessMode
The mode by which to access the DB file.
See Also