Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

SecurityBindingElement.CreateUserNameForCertificateBindingElement Method

Definition

Namespace:
System.ServiceModel.Channels
Assembly:
System.ServiceModel.dll

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Creates a symmetric security binding element that is configured to require user name- and password-based client authentication and certificate-based server authentication. The created binding element requires the client to be configured with a service certificate that is out-of-band before opening a communication channel with a service.

public:
 static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateUserNameForCertificateBindingElement();
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateUserNameForCertificateBindingElement();
static member CreateUserNameForCertificateBindingElement : unit -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateUserNameForCertificateBindingElement () As SymmetricSecurityBindingElement

Returns

A SymmetricSecurityBindingElement object.

Remarks

The server certificate must be configured out of band at the client.

Applies to


Feedback

Was this page helpful?