BasicHttpSecurity.Message Property

 

Gets the message-level security settings for a basicHttpBinding binding.

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

public BasicHttpMessageSecurity Message { get; set; }

Property Value

Type: System.ServiceModel.BasicHttpMessageSecurity

A BasicHttpMessageSecurity, which represents the message-level security settings for this binding.

The default security settings are: a ClientCredentialType of UserName; and an AlgorithmSuite of Basic256.

BasicHttpSecurity security = binding.Security;
BasicHttpMessageSecurity msgSecurity = security.Message;

.NET Framework
Available since 3.0
Return to top
Show: