using System; using System.Net; using System.Security.Permissions; [assembly: SocketPermission(SecurityAction.RequestMinimum, Unrestricted = true)] class MainClass { public static void Main() { } }