Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SshFingerprint.ToString Method

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

ToString()

Returns a string representation of the fingerprint. SHA-256 hash is returned at the moment, but please be aware that this might change in future. Use ToString(SignatureHashAlgorithm, Boolean) instead to ensure consistent behavior.

Declaration
public override string ToString()
Returns
Type Description
String

A string representation of the fingerprint.

Overrides
Object.ToString()

ToString(SignatureHashAlgorithm)

Returns a string representation of the fingerprint produced using the specified algorithm.

Declaration
public string ToString(SignatureHashAlgorithm algorithm)
Parameters
Type Name Description
SignatureHashAlgorithm algorithm

Algorithm to be used to compute the fingerprint.

Returns
Type Description
String

A string representation of the fingerprint.

ToString(SignatureHashAlgorithm, Boolean)

Returns a string representation of the fingerprint produced using the specified algorithm.

Declaration
public string ToString(SignatureHashAlgorithm algorithm, bool base64)
Parameters
Type Name Description
SignatureHashAlgorithm algorithm

Algorithm to be used to compute the fingerprint.

Boolean base64

True to use Base64 format; false to use legacy format.

Returns
Type Description
String

A string representation of the fingerprint.

In This Article
  • ToString()
  • ToString(SignatureHashAlgorithm)
  • ToString(SignatureHashAlgorithm, Boolean)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies