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