edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing

The KnownHostsManager type exposes the following members.

Constructors

  NameDescription
Public methodKnownHostsManager
Initializes a new instance of the KnownHostsManager class

Methods

  NameDescription
Public methodAdd
Add the hostname along with its public key to the hashtable
Public methodAddHostKey
Add the key for this host
Public methodAddKnownHost(String, array<Byte>[]()[][])
Add a hostname/public key pair to the known hosts data.
Public methodAddKnownHost(String, String)
Add a hostname/public key pair to the known hosts data.
Public methodClearKnownHosts
Clear all loaded known hosts from the internal list.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIsKeyLoaded
Determines if this key is loaded for this host
Public methodLoadKnownHosts(Stream)
Read the known hosts file to obtain the host public keys.
Public methodLoadKnownHosts(String)
Read the given known hosts file to obtain the host public keys.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString
Represent the instance as a string.
(Overrides Object..::..ToString()()()().)
Public methodWriteKnownHosts
Write the known hosts to file, together with their public keys, in the standard known_hosts format.

Properties

  NameDescription
Public propertyKnownHostsFile
Name of file containing the list of known hosts and their public keys that was most recently loaded.
Public propertyNumHosts
Number of known hosts names and IP addresses that have been loaded.

See Also