ECDiffieHellmanCngPublicKey.Import Method ()


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

Converts the ECDiffieHellmanCngPublicKey object to a CngKey object.

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

public CngKey Import()

Return Value

Type: System.Security.Cryptography.CngKey

An object that contains the key represented by the ECDiffieHellmanCngPublicKey object.

.NET Framework
Available since 3.5
Return to top