Exemple #1
0
 public bool Disconnect()
 {
     client.Disconnect();
     client.Dispose();
     client = null;
     return(true);
 }
Exemple #2
0
        public QRtspClient(string host,int port=554,string res="",string login="",string password="")
        {
            this.Host = host;
            this.Port = port;
            this.Res = res;
            this.Login = login;
            this.Password = password;

            client = new QTcpClient(Host,Port);
        }
Exemple #3
0
        public QRtspClient(string host, int port = 554, string res = "", string login = "", string password = "")
        {
            this.Host     = host;
            this.Port     = port;
            this.Res      = res;
            this.Login    = login;
            this.Password = password;

            client = new QTcpClient(Host, Port);
        }
Exemple #4
0
 public bool Disconnect()
 {
     client.Disconnect ();
     client.Dispose ();
     client = null;
     return true;
 }