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

Namespace:  SnmpSharpNet
Assembly:  SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.5.2.0 (0.5.2.0)

Syntax

C#
public int GetEncryptedLength(
	int scopedPduLength
)
Visual Basic (Declaration)
Public Function GetEncryptedLength ( _
	scopedPduLength As Integer _
) As Integer
Visual C++
public:
virtual int GetEncryptedLength(
	int scopedPduLength
) sealed

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.

Implements

IPrivacyProtocol..::.GetEncryptedLength(Int32)

See Also