Uri::IdnHost Property
The RFC 3490 compliant International Domain Name of the host, using Punycode as appropriate.
Assembly: System (in System.dll)
This property is provided for the use of lower-level networking protocols that require the domain name in Punycode form. If your code does not require that specific format, use Host for the hostname.
The deprecated DnsSafeHost property is dependent on app.config settings, which cannot be changed by Windows Store applications. This property is provided as the preferred alternative to using DnsSafeHost, because IdnHost is guaranteed to always be DNS safe, no matter what the current app.config settings might be.
Available since 10
.NET Framework
Available since 4.6