WSDualHttpBinding.Security WSDualHttpBinding.Security WSDualHttpBinding.Security WSDualHttpBinding.Security Property

Definición

Obtiene un objeto que especifica la configuración de seguridad utilizados con este enlace.Gets an object that specifies the security settings used with this binding.

public:
 property System::ServiceModel::WSDualHttpSecurity ^ Security { System::ServiceModel::WSDualHttpSecurity ^ get(); void set(System::ServiceModel::WSDualHttpSecurity ^ value); };
public System.ServiceModel.WSDualHttpSecurity Security { get; set; }
member this.Security : System.ServiceModel.WSDualHttpSecurity with get, set
Public Property Security As WSDualHttpSecurity

Valor de propiedad

WSDualHttpSecurity que especifica los valores de seguridad usados con el enlace.The WSDualHttpSecurity that specifies security settings used with the binding. El valor predeterminado de WSDualHttpSecurityMode es Message.The default value of WSDualHttpSecurityMode is Message.

Ejemplos

En el siguiente ejemplo se muestra cómo obtener el tipo de seguridad del enlace.The following example shows how to get the type of security of the binding.

WSDualHttpSecurity security = binding.Security;
Dim security As WSDualHttpSecurity = binding.Security

Comentarios

Un enlace dual expone la dirección IP del cliente al servicio.A dual binding exposes the IP address of the client to the service. El cliente debería utilizar la seguridad para asegurarse de que sólo se conecta a servicios de confianza.The client should use security to ensure that it only connects to services it trusts.

Se aplica a