DlmsTypeKeyAgreementData Class

Represents a key_agreement_data structure.

Definition

Namespace: OddPrg.Protocols.DLMS
Assembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
C#
public class DlmsTypeKeyAgreementData : DlmsTypeStructure
Inheritance
Object    DlmsType    DlmsTypeComplex    DlmsTypeStructure    DlmsTypeKeyAgreementData

Constructors

DlmsTypeKeyAgreementData Parameterless constructor used by XmlSerializer.
DlmsTypeKeyAgreementData(DlmsTypeStructure) Creates a new instance of DlmsTypeKeyAgreementData class from a structure returned by the server (meter)
DlmsTypeKeyAgreementData(Byte, ByteBuffer) Creates a new instance of DlmsTypeKeyAgreementData class for specified key ID and data. This constructor is called to start ECDH key agreement.

Properties

Count Returns the count of items in the array.
(Inherited from DlmsTypeComplex)
Data Key data containing public key and signature.
Item Default read-only indexer which returns items of the array
(Inherited from DlmsTypeComplex)
KeyID Key ID. 0 - GUEK, 1 - GBEK, 2 - GAK, 3 - KEK, according to the BB.
TypeName Returns name of the type according to BB 4.1.5.
(Inherited from DlmsTypeStructure)
ValueAsArray Returns items of this complex type as array.
(Inherited from DlmsTypeComplex)
ValueAsDateTime If it is possible returns a dat/time representation of the value.
(Inherited from DlmsType)
ValueAsDouble If it is possible returns a number representation of the value. It could be applied also for integer values.
(Inherited from DlmsType)
ValueAsString Returns comma delimited ValueAsString of items.
(Inherited from DlmsTypeComplex)
ValueIsDateTime This property should return true if ValueAsDateTime is available, otherwise it should return false.
(Inherited from DlmsType)
ValueIsMax Returns true if the value is equal to its maximal possible value which can indicate null for some meter types.
(Inherited from DlmsType)
ValueIsNumber This property should return true if ValueAsDouble is available, otherwise it should return false. It indicated if this value can be stored and treated as number.
(Inherited from DlmsType)

Methods

Add Adds next item to the end of values array.
(Inherited from DlmsTypeComplex)
ToString Returns string representation of the value. It returns ValueAsString.
(Inherited from DlmsType)

See Also