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

PasswordAuthenticationMethod

Provides functionality to perform password authentication.

Occurs when user's password has expired and needs to be changed.

public PasswordAuthenticationMethod(string username, string password)

Initializes a new instance of the PasswordAuthenticationMethod class.

public PasswordAuthenticationMethod(string username, byte[] password)

Initializes a new instance of the PasswordAuthenticationMethod class.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

protected virtual void Dispose(bool disposing)

Releases unmanaged and - optionally - managed resources