SecurityBindingElement.KeyEntropyMode Property


Gets or sets the source of entropy used to create keys.

 property System::ServiceModel::Security::SecurityKeyEntropyMode KeyEntropyMode { System::ServiceModel::Security::SecurityKeyEntropyMode get(); void set(System::ServiceModel::Security::SecurityKeyEntropyMode value); };
public System.ServiceModel.Security.SecurityKeyEntropyMode KeyEntropyMode { get; set; }
member this.KeyEntropyMode : System.ServiceModel.Security.SecurityKeyEntropyMode with get, set
Public Property KeyEntropyMode As SecurityKeyEntropyMode

Property Value

The SecurityKeyEntropyMode used to create keys. The default value is CombinedEntropy.


The KeyEntropyMode specifies how the key for tokens (such as SecurityContextSecurityToken) issued by the service is computed: whether it is computed based on the client key material only, on the service key material only, or on a combination of both.

Applies to