public bool Disconnect() { client.Disconnect(); client.Dispose(); client = null; return(true); }
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); }
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); }
public bool Disconnect() { client.Disconnect (); client.Dispose (); client = null; return true; }