SocketElement.IPProtectionLevel Propriedade
Definição
Obtém ou define um valor que especifica o padrão IPProtectionLevel a ser usado para um soquete.Gets or sets a value that specifies the default IPProtectionLevel to use for a socket.
public:
property System::Net::Sockets::IPProtectionLevel IPProtectionLevel { System::Net::Sockets::IPProtectionLevel get(); void set(System::Net::Sockets::IPProtectionLevel value); };
[System.Configuration.ConfigurationProperty("ipProtectionLevel", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public System.Net.Sockets.IPProtectionLevel IPProtectionLevel { get; set; }
[<System.Configuration.ConfigurationProperty("ipProtectionLevel", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.IPProtectionLevel : System.Net.Sockets.IPProtectionLevel with get, set
Public Property IPProtectionLevel As IPProtectionLevel
Valor da propriedade
O valor do IPProtectionLevel para a instância atual.The value of the IPProtectionLevel for the current instance.
- Atributos
Comentários
A IPProtectionLevel propriedade permite a configuração de uma restrição para um soquete IPv6 para um escopo especificado, como endereços com o mesmo link local ou local do site.The IPProtectionLevel property enables configuration of a restriction for an IPv6 socket to a specified scope, such as addresses with the same link local or site local prefix. Essa opção permite que os aplicativos coloquem restrições de acesso em soquetes IPv6.This option enables applications to place access restrictions on IPv6 sockets. Essas restrições permitem que um aplicativo em execução em uma LAN privada proteja-se de modo simples e robusto contra ataques externos.Such restrictions enable an application running on a private LAN to simply and robustly harden itself against external attacks. Essa opção amplia ou limita o escopo de um soquete de escuta, habilitando o acesso irrestrito de usuários públicos e privados quando apropriado ou restringindo o acesso somente ao mesmo site, conforme necessário.This option widens or narrows the scope of a listening socket, enabling unrestricted access from public and private users when appropriate, or restricting access only to the same site, as required. Essa opção tem três níveis de proteção definidos especificados na System.Net.Sockets.IPProtectionLevel enumeração.This option has three defined protection levels specified in the System.Net.Sockets.IPProtectionLevel enumeration.