PrivateKey Property

See Also

FtpDLX Class  | FtpDLX Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

PrivateKey Property

Holds private key for SSL and SSH authentication.

[Visual Basic]
Public Property PrivateKey As Object
[C#]
public object PrivateKey {get; set;}
[JScript]
public function get,set PrivateKey : Object

Remarks

PrivateKey property sets and returns object that represents private key that will be used with authentication. You must setup Authentication property prior to authenticating with your key.

For SFTP protocol:
During connection stage, if wodFtpDLX.NET requires private key to authenticate to the server, it will look in this property and provide public key derived from it to the server. If both keys matches, you will be able to connect just by specifying private key, without any passwords.

For FTPS (or FTPSwithdata/FTPSimplicit) protocols:
wodFtpDLX.NET will check if PrivateKey matches provided Certificate before it tries to connect. If key is valid, it will try to authenticate on SSL level with the server. Usually, if server accepts the authentication, it will not even ask for a password.

wodFtpDLX.NET will in PrivateKey property accept XML string value containing private key data (as returned by ToXmlString method supported by many crypto classes in NET), or AsymmetricAlgorithm class that contains the private key.
 

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members

 

 


© WeOnlyDo Software. All Rights Reserved.