What is the best way to convert an internationalized domain name to its ASCII-form?
I want to convert Bücher.ch into xn--
Bücher.ch
xn--
Have a look at the GNU IDN Library - Libidn. The introduction says that C# libraries are available.