Beispiel #1
0
        public Guid FTPRegistration(string userName, string password, string url, int?port, bool enableSSL, Guid requestGuid)
        {
            var request = new RegisterFtpRequest
            {
                UserName  = userName,
                Password  = password,
                Host      = url,
                Port      = port,
                EnableSsl = enableSSL,
            };
            ServiceRegistration ftpRegistration = new ServiceRegistration();
            var response = ftpRegistration.RegisterFtp(request);

            return(response.Token);
        }