AppDomain.CurrentDomain.FriendlyName
using System; class MainClass { public static void Main() { AppDomain d = AppDomain.CreateDomain("NewDomain"); Console.WriteLine(AppDomain.CurrentDomain.FriendlyName); Console.WriteLine(d.FriendlyName); } }