MLKemCng(CngKey) Constructor 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
 MLKemCng(System::Security::Cryptography::CngKey ^ key);[System.Runtime.Versioning.SupportedOSPlatform("windows")]
public MLKemCng(System.Security.Cryptography.CngKey key);public MLKemCng(System.Security.Cryptography.CngKey key);[<System.Runtime.Versioning.SupportedOSPlatform("windows")>]
new System.Security.Cryptography.MLKemCng : System.Security.Cryptography.CngKey -> System.Security.Cryptography.MLKemCngnew System.Security.Cryptography.MLKemCng : System.Security.Cryptography.CngKey -> System.Security.Cryptography.MLKemCngPublic Sub New (key As CngKey)Parameters
- key
- CngKey
The key that will be used as input to the cryptographic operations performed by the current object.
- Attributes
Exceptions
key is null.
  key does not specify a Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM) algorithm group.
Cryptography Next Generation (CNG) classes are not supported on this system.