Gurux.DLMS.Objects.GXDLMSSecuritySetup.Import C# (CSharp) Method

Import() public method

Imports an X.509 v3 certificate of a public key.
public Import ( Gurux.DLMS.GXDLMSClient client, CngKey key ) : byte[][]
client Gurux.DLMS.GXDLMSClient DLMS client that is used to generate action.
key CngKey Public key.
return byte[][]
        public byte[][] Import(GXDLMSClient client, CngKey key)
        {
            return ImportCertificate(client, key.Export(CngKeyBlobFormat.EccPublicBlob));
        }
#endif