Table of Contents

Class PasswordCredential

Namespace
Tmds.Ssh
Assembly
Tmds.Ssh.dll

Credential for password authentication.

public sealed class PasswordCredential : Credential
Inheritance
PasswordCredential
Inherited Members

Constructors

PasswordCredential(string)

Creates a password credential with a fixed password.

public PasswordCredential(string password)

Parameters

password string

The password.

PasswordCredential(PasswordPrompt)

Creates a password credential with a prompt callback.

public PasswordCredential(PasswordPrompt passwordPrompt)

Parameters

passwordPrompt PasswordPrompt

The PasswordPrompt callback.