SecureFTPConnectionClientPrivateKeyBytes Property |
[SFTP/SCP Only] Byte array containing the private key used to authenticate the client in SFTP/SCP.
Namespace:
EnterpriseDT.Net.Ftp
Assembly:
edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 12.3.0.0
Syntaxpublic byte[] ClientPrivateKeyBytes { get; set; }
Public Property ClientPrivateKeyBytes As Byte()
Get
Set
public:
property array<unsigned char>^ ClientPrivateKeyBytes {
array<unsigned char>^ get ();
void set (array<unsigned char>^ value);
}
member ClientPrivateKeyBytes : byte[] with get, set
Property Value
Type:
ByteByte array containing the private key used to authenticate the client.
RemarksThis property applies to SFTP only. Use the Protocol property to
select the protocol.
This property must be set before a connection with the server is made.
The SFTP server must have been set up with the corresponding public key before this
authentication method is used. For this property to be used,
AuthenticationMethod must be set to
PublicKey or PublicKeyAndPassword.
This property is used in preference to ClientPrivateKeyFile if both are set.
See Also