Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
property WSDualHttpSecurity^ Security {
	WSDualHttpSecurity^ get();
	void set(WSDualHttpSecurity^ value);
}

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft