using System; using System.Security; using System.Security.Policy; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { PermissionSet ps = PolicyLevel.CreateAppDomainLevel().GetNamedPermissionSet("Internet"); foreach (IPermission item in ps) { Console.WriteLine(item.ToString()); } } } }