public void Open(StreamProperties streamProperties) { Properties = streamProperties; var hostname = Properties.Account.Server; var port = Properties.Account.Port; _socket = new Utilities.Socket(hostname, port); _stream = _socket.Connect(); StartStreamProcessing(); Send(Properties.StartStream()); }