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.

SecurityBindingElement::SetKeyDerivation Method (Boolean)

 

Sets a value that indicates whether derived keys are required.

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

public:
virtual void SetKeyDerivation(
	bool requireDerivedKeys
)

Parameters

requireDerivedKeys
Type: System::Boolean

true to require derived keys; otherwise, false.

The following code shows how to call this method.

SecurityBindingElement security = SecurityBindingElement.CreateMutualCertificateBindingElement();

// Use a secure session.
security = SecurityBindingElement.CreateSecureConversationBindingElement(security, true);

// Specify whether derived keys are required.
security.SetKeyDerivation(true);

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