No value in PrivateKey property. (General questions)
Hi Guys,
I'm trying to use the DLL's in Microsoft Dynamics AX, wich has its own language called X++.
And it can use DLL's.
i wrapped the DLL's.
PRO_Sftp_SFTPCom sftp = new PRO_Sftp_SFTPCom();
PRO_Sftp_KeyKeys keys = new PRO_Sftp_KeyKeys();
comVariant privateKey = new comVariant();
str test;
;
keys.Load('c:\DSAkey.txt');
sftp.Authentication(2);
sftp.Hostname('localhost');
sftp.Login('ftp');
test = keys.PrivateKey(1);
privateKey.bStr(keys.PrivateKey(1));
sftp.PrivateKey(privateKey);
but i get no value from keys.PrivateKey(1) ??
in PrivateKeyData there are a buch of numbers!
what am i missing here?
thnx,
Rob