<PackageReference Include="SSH.NET" Version="2025.1.0" />

KeyExchangeDiffieHellmanGroupExchange

Provides the implementation of "diffie-hellman-group-exchange" algorithms.
public KeyExchangeDiffieHellmanGroupExchange(string name, HashAlgorithmName hashAlgorithm)

Initializes a new instance of the KeyExchangeDiffieHellmanGroupExchange class.

public KeyExchangeDiffieHellmanGroupExchange(string name, HashAlgorithmName hashAlgorithm, uint minimumGroupSize, uint preferredGroupSize, uint maximumGroupSize)

Initializes a new instance of the KeyExchangeDiffieHellmanGroupExchange class.