WLGetCurrentCountry

<< Click to Display Table of Contents >>

Navigation:  WinLicense > WinLicense SDK > Miscellaneous Functions >

WLGetCurrentCountry

The WLGetCurrentCountry function returns the current country ID.

Click to expand/collapseShow C/C++ function definition
Click to expand/collapseShow Delphi function definition
Click to expand/collapseShow Visual Basic Native function definition
Click to expand/collapseShow .NET function definition

 

Parameters

 

This function has no parameters.

 

 

Return Values

 

The return value is the current country ID. The following list shows all recognized countries and their IDs:

                                 

Country

ID


Country

ID

Albania

355


Liechtenstein

41

Algeria

213


Lithuania

370

Argentina

54


Luxembourg

352

Armenia

374


Macau S.A.R., PRC

853

Australia

61


Former Yugoslav Republic of Macedonia

389

Austria

43


Malaysia

60

Azerbaijan

994


Maldives

960

Bahrain

973


Mexico

52

Belarus

375


Principality of Monaco

33

Belgium

32


Mongolia

976

Belize

501


Morocco

212

Bolivia

591


Netherlands

31

Brazil

55


New Zealand

64

Brunei Darussalam

673


Nicaragua

505

Bulgaria

359


Norway

47

Canada

2


Oman

968

Caribbean

1


Islamic Republic of Pakistan

92

Chile

56


Panama

507

Colombia

57


Paraguay

595

Costa Rica

506


Peru

51

Croatia

385


Republic of the Philippines        

63

Czech Republic

420


Poland

48

Denmark

45


Portugal

351

Dominican Republic

1


People's Republic of China

86

Ecuador

593


Puerto Rico

1

Egypt

20


Qatar

974

El Salvador

503


Romania

40

Estonia

372


Russia

7

Faeroe Islands

298


Saudi Arabia

966

Finland

358


Serbia

381

France

33


Singapore

65

Georgia

995


Slovak Republic

421

Germany

49


Slovenia

386

Greece

30


South Africa

27

Guatemala

502


Korea

82

Honduras

504


Spain

34

Hong Kong S.A.R., P.R.C.

852


Sweden

46

Hungary

36


Switzerland

41

Iceland

354


Syria

963

India

91


Taiwan

886

Indonesia

62


Tatarstan

7

Iran

981


Thailand

66

Iraq

964


Trinidad y Tobago

1

Ireland

353


Tunisia

216

Israel

972


Turkey

90

Italy

39


U.A.E.

971

Jamaica

1


Ukraine

380

Japan

81


United Kingdom

44

Jordan

962


United States

1

Kazakstan

7


Uruguay

598

Kenya

254


Uzbekistan

7

Kuwait

965


Venezuela

58

Kyrgyzstan

996


Viet Nam

84

Latvia

371


Yemen

967

Lebanon

961


Zimbabwe

263

Libya

218