Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ECDsaCng Constructor (CngKey^)

 

Initializes a new instance of the ECDsaCng class by using the specified CngKey object.

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

public:
ECDsaCng(
	CngKey^ key
)

Parameters

key
Type: System.Security.Cryptography::CngKey^

The key that will be used as input to the cryptographic operations performed by the current object.

Exception Condition
ArgumentException

key does not specify an Elliptic Curve Digital Signature Algorithm (ECDSA) group.

ArgumentNullException

key is null.

PlatformNotSupportedException

Cryptography Next Generation (CNG) classes are not supported on this system.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft