C# Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CUnicode C++Unicode CMFCDelphi DLLDelphi ActiveXFoxProJavaPerlPHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

C# Examples

Bounced Mail
Bz2
Character Encoding
CSV
DKIM / DomainKey
Digital Certificates
Digital Signatures
Email
Email Object
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
MIME
POP3
RSA
S/MIME
SMTP
Socket
Spider
SSH
SSH Tunnel
SSH Key
SFTP
Tar Archive
Upload
XML
XMP
Zip Compression


More Examples...
Amazon S3
NTLM
FileAccess
RSS
Atom
String
Byte Array
Self-Extractor
Service
PPMD
Deflate
DH Key Exchange
DSA
Bzip2
LZW

 

 

 

 

 

 

SSH Key Fingerprint

Generates a fingerprint for an SSH key.

Download: Chilkat .NET Assemblies

Chilkat.SshKey key = new Chilkat.SshKey();

bool success;

//  Load an SSH key from an encrypted OpenSSH-formatted private key:
key.Password = "secret";

string keyStr;
//  First load the PEM into a string:
keyStr = key.LoadText("privkey_openssh_encrypted.pem");

//  Import into the SSH key object:
success = key.FromOpenSshPrivateKey(keyStr);
if (success != true) {
    MessageBox.Show(key.LastErrorText);
    return;
}

//  Generate the fingerprint:
string fingerprint;
fingerprint = key.GenFingerprint();

textBox1.Text += fingerprint + "\r\n";

//  A sample fingerpring looks like this:
//  ssh-dss 2048 d0:5f:f7:d6:49:60:7b:50:19:f4:41:59:d4:1f:61:7a


 

© 2000-2013 Chilkat Software, Inc. All Rights Reserved.