Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9160549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:45:56+00:00 2026-06-17T13:45:56+00:00

I found a lot of threads explaining how to get the country-codes in two-

  • 0

I found a lot of threads explaining how to get the country-codes in two- or three-letter format, but nothing that fits to my task.
I’m heading for a way to get all the top level domains in an array or something. I know there’s the CultureInfo class in C# but which could list the country codes. It doesn’t include generic TLD, e.g.: “com”. Here’s the complete list of country codes I found.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:45:57+00:00Added an answer on June 17, 2026 at 1:45 pm

    The authoritative list of all TLDs: http://www.iana.org/domains/root/db

    The Root Zone Database represents the delegation details of top-level domains, including gTLDs such as .com, and country-code TLDs such as .uk.

    You can get this as TXT, too (easier to parse): http://data.iana.org/TLD/tlds-alpha-by-domain.txt


    Wikipedia also lists all TLDs, but it’s not authoritative, of course: List of Internet top-level domains


    The Mozilla Foundation maintains a Public Suffix List for effective top-level domains, i.e., those under which you can directly register names (for example .co.uk instead of .uk): http://publicsuffix.org/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've seen a lot of similar threads but none that actually address my particular
I tried searching through a lot of threads and I've found several that's pretty
First of all, I've found a lot of threads on StackOverflow about this, but
I've been searching for a while and have found a lot of threads/pages that
From lot of threads, like this one, I have found that C# int/float are
Well, I found quite a lot of threads with ISE 500 , but none
I found a lot of helpful information on stackoverflow, but a tiny bit is
i found a lot of questions about resizing images in .NET and whatnot, but
I found a lot of links on metaclasses, and most of them mention that
While I was using Parallel.ForEach in my program, I found that some threads never

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.