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.

WebServiceEndpoint::Security Property

.NET Framework (current version)
 

Gets the security settings used with this binding.

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

public:
property WebHttpSecurity^ Security {
	WebHttpSecurity^ get();
}

Property Value

Type: System.ServiceModel::WebHttpSecurity^

The WebHttpSecurity that is used with this binding. The default value is None.

To use a non-default type of security, use the WebHttpBinding(WebHttpSecurityMode) constructor.

System_CAPS_noteNote

If you set this property to TransportCredentialOnly and you are using HTTP, be aware that credentials are sent over the wire in plain text.

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