ECDiffieHellmanCng.UseSecretAgreementAsHmacKey Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value that indicates whether the secret agreement is used as a Hash-based Message Authentication Code (HMAC) key to derive key material.

Namespace:   System.Security.Cryptography
Assembly:  System.Core (in System.Core.dll)

public bool UseSecretAgreementAsHmacKey { get; }

Property Value

Type: System.Boolean

true if the secret agreement is used as an HMAC key to derive key material; otherwise, false.

.NET Framework
Available since 3.5
Return to top