<PackageReference Include="System.Security.Cryptography.Cng" Version="5.0.0" />

System.Security.Cryptography.ECDiffieHellmanCngPublicKey

Specifies an Elliptic Curve Diffie-Hellman (ECDH) public key for use with the ECDiffieHellmanCng class.
namespace System.Security.Cryptography { public sealed class ECDiffieHellmanCngPublicKey : ECDiffieHellmanPublicKey { public CngKeyBlobFormat BlobFormat { get; } public static ECDiffieHellmanPublicKey FromByteArray(byte[] publicKeyBlob, CngKeyBlobFormat format); public static ECDiffieHellmanCngPublicKey FromXmlString(string xml); public CngKey Import(); } }