Calculates and returns length of the buffer that is the result of the encryption method.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
int GetEncryptedLength(
	int scopedPduLength
)
Visual Basic
Function GetEncryptedLength ( _
	scopedPduLength As Integer _
) As Integer
Visual C++
int GetEncryptedLength(
	int scopedPduLength
)

Parameters

scopedPduLength
Type: System..::..Int32
Length of the buffer that is needs to be encrypted.

Return Value

Length of the encrypted byte array after the call to Encrypt method.

See Also