This documentation is archived and is not being maintained.

ECDiffieHellmanCng.Key Property

Specifies the CngKey that is used by the current object for cryptographic operations.

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

'Declaration
Public Property Key As CngKey
'Usage
Dim instance As ECDiffieHellmanCng 
Dim value As CngKey 

value = instance.Key

instance.Key = value

Property Value

Type: System.Security.Cryptography.CngKey
The key pair used by this object to perform cryptographic operations.

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5
Show: