예제 #1
0
        private static void GetStream(string request)
        {
            var bws = new BinaryConnection();

            bws.Connect().Wait();

            bws.SendRequest(request).Wait();
            bws.StartListenStream();
        }
예제 #2
0
        private static string GetData(string request)
        {
            var bws = new BinaryConnection();

            bws.Connect().Wait();

            bws.SendRequest(request).Wait();
            var response = bws.StartListen();

            return(response.Result);
        }