using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Diagnostics.CodeAnalysis;
using Renci.SshNet.Common;
namespace Renci.SshNet
{
    /// 
    /// Provides client connection to SSH server.
    /// 
    public class SshClient : BaseClient
    {
        /// 
        /// Holds the list of forwarded ports
        /// 
        private readonly List _forwardedPorts;
        private Stream _inputStream;
        /// 
        /// Gets the list of forwarded ports.
        /// 
        public IEnumerable ForwardedPorts
        {
            get
            {
                return this._forwardedPorts.AsReadOnly();
            }
        }
        #region Constructors
        /// 
        /// Initializes a new instance of the  class.
        /// 
        /// The connection info.
        /// 
        ///