ECDiffieHellmanCng Constructor ()


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

Initializes a new instance of the ECDiffieHellmanCng class with a random key pair.

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

new : unit -> ECDiffieHellmanCng

The random key pair has a default public key length of 521 bits.

.NET Framework
Available since 3.5
Return to top