WebHttpBinding.Security Property

 

Gets the security settings used with this binding.

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

Public Property Security As WebHttpSecurity

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 3.5
Return to top
Show: