System.Net.SocketPermissionAttribute
Specifies security actions to control Socket connections. This class cannot be inherited.
namespace System.Net
{
public sealed class SocketPermissionAttribute : CodeAccessSecurityAttribute
{
public string Access { get; set; }
public string Host { get; set; }
public string Port { get; set; }
public string Transport { get; set; }
public SocketPermissionAttribute(SecurityAction action);
}
}