SecurityBindingElement::CreateAnonymousForCertificateBindingElement Method ()

 

Creates a symmetric security binding element that is configured for anonymous client authentication and certificate-based server authentication.

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

public:
static SymmetricSecurityBindingElement^ CreateAnonymousForCertificateBindingElement()

The client and server must be configured out of band with the service certificate.

The binding is created with MessageSecurityVersion set to WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11 and RequireSignatureConfirmation set to true.

The following code shows how to call this method.

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

.NET Framework
Available since 3.0
Return to top
Show: