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::ImportParameters Method (ECParameters)
Replaces the existing key that the current instance is working with by creating a new CngKey for the parameters structure.
Assembly: System.Core (in System.Core.dll)
Parameters
- parameters
-
Type:
System.Security.Cryptography::ECParameters
The curve parameters.
| Exception | Condition |
|---|---|
| CryptographicException | parameters does not contain valid values. |
| NotSupportedException | parameters references a curve that cannot be imported. |
| PlatformNotSupportedException | parameters references a curve that is not supported by this platform. |
.NET Framework
Available since 4.7
Available since 4.7
Show: