Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
28.3k views
in .NET FTP by (1.1k points)
Version 7.3.1.20

Put ProcessMonitor on this and see a lot of instances of this:

Date & Time:   6/20/2011 1:41:02 PM
Event Class:   Registry
Operation:   RegOpenKey
Result:   NAME NOT FOUND
Path:   HKCU\Software\Enterprise Distributed Technologies\edtFTPnet PRO
TID:   4240
Duration:   0.0000180


Why would a distributed dll be looking in the registry for this setting?

4 Answers

0 votes
by (162k points)
The license key can be stored in the registry, or it can be set programmatically.
0 votes
by (1.1k points)
it is set programatically:



 With sFTP
                .LicenseOwner = "ClinicalLabPartners"
                .LicenseKey = "xxxxxxxxxxxxxxxxxxxxx"

                .ServerAddress = ftpServer
                .ServerPort = CType(ftpPort, Integer)
                .UserName = ftpUser
                .Password = ftpPassword

                .Protocol = FileTransferProtocol.FTPSExplicit
                .ServerValidation = SecureFTPServerValidationType.Automatic
                .ServerCommonName = "ftp.clptestpoint.com"
                .SSLVersion = SSLFTPSSLVersion.SSL3

                .Connect()
            End With
0 votes
by (162k points)
The DLL checks the registry entry first, that's why you see it doing this (on Connect()).
0 votes
by (1.1k points)
thanx. seems like extra overhead, i have a process that connects 1000s of times a day.

Categories

...