Initializes a new instance of the DiffieHellmanManaged class with a specified key size.

Namespace:  Rebex.Security.Cryptography
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Sub New ( _
	keySize As Integer _
)
C#
public DiffieHellmanManaged(
	int keySize
)

Parameters

keySize
Type: System..::..Int32
The size of the key to use in bits.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also