TScSSHClient.Password Write Only
Posted: Thu 25 Jan 2018 13:50
Could you do Password property area just only writable to TScSSHClient component?(or new function SetPassword) I share developers my unites as dcu. It is visible when inserting password inside it. Developers see the password.
Now;
oSSHClient.Password := '123456'
showmessage(oSSHClient.Password);// 123456
Example;
oSSHClient.wPassword := '123456'
showmessage(oSSHClient.Password);// empty
Example2;
oSSHClient.SetPassword('123456');
showmessage(oSSHClient.Password);// empty
Example3;
oSSHClient.Connect('root','123456');
showmessage(oSSHClient.Password);// empty
Now;
oSSHClient.Password := '123456'
showmessage(oSSHClient.Password);// 123456
Example;
oSSHClient.wPassword := '123456'
showmessage(oSSHClient.Password);// empty
Example2;
oSSHClient.SetPassword('123456');
showmessage(oSSHClient.Password);// empty
Example3;
oSSHClient.Connect('root','123456');
showmessage(oSSHClient.Password);// empty