FubarDev.FtpServer.FtpConnection.CreateEncryptedStream C# (CSharp) Method

CreateEncryptedStream() private method

private CreateEncryptedStream ( [ unencryptedStream ) : Task
unencryptedStream [
return Task
        public Task<Stream> CreateEncryptedStream([NotNull] Stream unencryptedStream)
        {
            if (Data.CreateEncryptedStream == null)
                return Task.FromResult(unencryptedStream);
            return Data.CreateEncryptedStream(unencryptedStream);
        }