public HostKeyEventArgs(KeyHostAlgorithm host)
{
CanTrust = true; // Set default value
HostKey = host.Data;
HostKeyName = host.Name;
KeyLength = host.Key.KeyLength;
using (var md5 = CryptoAbstraction.CreateMD5())
{
FingerPrint = md5.ComputeHash(host.Data);
}
}
}