Diffusion .NET Client Library
6.1.5
|
Returns details of the country in which the internet address of the client was allocated. More...
Inherited by PushTechnology.ClientInterface.CommandServices.Commands.Control.Client.CountryDetails.
Properties | |
string | Country [get] |
Returns the international two-letter code for the country where the Internet address was allocated (e.g. NZ for New Zealand). More... | |
string | Language [get] |
Returns the international two-letter code for the official language of the country where the Internet address was allocated. More... | |
Returns details of the country in which the internet address of the client was allocated.
|
get |
Returns the international two-letter code for the country where the Internet address was allocated (e.g. NZ for New Zealand).
Three country values can be returned that do not exist within the international standard (ISO 3166). These are EU (for a nonspecific European address), AP (for a nonspecific Asia-Pacific address) and ** (an Internet address reserved for private use, for example on a corporate network not available from the public Internet).
|
get |
Returns the international two-letter code for the official language of the country where the Internet address was allocated.
Where a country has more than one official language, the language is set to that which has the majority of native speakers. For example, the language for Canada is set to English (en) rather than French (fr).
Nonspecific addresses (EU and AP), private Internet addresses (**), and addresses not found within the database, all return an empty string for language.