Generates Diffie-Hellman parameters corresponding to the specified key size.

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

Syntax

Visual Basic
Public Shared Function GenerateDiffieHellmanParameters ( _
	keySize As Integer _
) As DiffieHellmanParameters
C#
public static DiffieHellmanParameters GenerateDiffieHellmanParameters(
	int keySize
)

Parameters

keySize
Type: System..::..Int32
Key size.

Return Value

Diffie-Hellman parameters.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also