KeyUsage.IsKeyAgreementEnabled property

[The IsKeyAgreementEnabled property is available for use in the operating systems specified in the Requirements section. Instead, use the X509EnhancedKeyUsageExtension Class in the System.Security.Cryptography.X509Certificates namespace.]

The IsKeyAgreementEnabled property retrieves a Boolean value that indicates whether the keyAgreement bit is set.

Syntax

KeyUsage.IsKeyAgreementEnabled As Boolean

Property value

If true, the keyAgreement bit is set.

Requirements

Requirement Value
Redistributable
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP
DLL
Capicom.dll

See also

KeyUsage