WSDualHttpBinding.Security Property


Gets an object that specifies the security settings used with this binding.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public WSDualHttpSecurity Security { get; set; }

Property Value

Type: System.ServiceModel.WSDualHttpSecurity

The WSDualHttpSecurity that specifies security settings used with the binding. The default value of WSDualHttpSecurityMode is Message.

A dual binding exposes the IP address of the client to the service. The client should use security to ensure that it only connects to services it trusts.

The following example shows how to get the type of security of the binding.

WSDualHttpSecurity security = binding.Security;

.NET Framework
Available since 3.0
Return to top