Click or drag to resize
DatabaseReader Constructor (Stream, IEnumerableString)
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(
	Stream stream,
	IEnumerable<string> locales
)

Parameters

stream
Type: System.IOStream
A stream of the MaxMind DB file.
locales
Type: System.Collections.GenericIEnumerableString
List of locale codes to use in name property from most preferred to least preferred.
See Also