DlmsFramesLengthGetProtectedDataLength Method
Calculates length of protected APDU form length of unprotected APDU.
Namespace: OddPrg.Protocols.DLMSAssembly: OddPrg.Frames.Dlms (in OddPrg.Frames.Dlms.dll) Version: 2.0.0.24 (2.0.0.24)
public static int GetProtectedDataLength(
int apduLength,
bool ciphered,
bool authentized
)
- apduLength Int32
- Length of unprotected APDU.
- ciphered Boolean
- If the APDU will be ciphered.
- authentized Boolean
- If the APDU will be authentized.
Int32