While GetCurrentRegion() remains unreliable, there is the library LibRealmInfo (WoWI/Curse) that provides lookups of hardcoded, hand-collected data to determine the current region in a reliable way (may fail for new realms added at a later point, so don't forget to check for updates)

Other methods that are unreliable:

  • The CVar "portal" is the value that GetCurrentRegion() returns, so it's the same, possibly incorrect value
  • As this post states, the CVar "realmList" no longer works in WoD. (may still 'work' - as in not throwing an error when given to GetCVar - if it's in, but will most likely not be changed anymore by the Launcher)

~ Nathanyel (talk) 13:50, 13 February 2015 (UTC)