예제 #1
0
 public bool Disconnect()
 {
     client.Disconnect();
     client.Dispose();
     client = null;
     return(true);
 }
예제 #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);
        }
예제 #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);
        }
예제 #4
0
 public bool Disconnect()
 {
     client.Disconnect ();
     client.Dispose ();
     client = null;
     return true;
 }