Re: Creating KeyPair using wodsftp.net (General questions)
Hi hit_arc,
Public key is generated when Generate method is used. You should just export the PublicKeyOpenSSH property to a file, and you're done.
Something like this:
[code]string publicKey = KM.PublicKeyOpenSSH(WeOnlyDo.Security.Cryptography.SSHKeyTypes.RSAKey);
System.IO.File.WriteAllText(@ C:publickey.txt , publicKey);[/code]
Can you try something like that?
Regards,
Damba