Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var client = new SpeechRecognitionClient();

            client.Recognize += (s, e) => { Console.WriteLine(e.Recognized); };
            client.Connect(address, port);
            WaitConsoleReadLine();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            Console.OutputEncoding = Encoding.UTF8;
            var recognition = new SpeechRecognitionClient();

            recognition.Recognize += Recognized;
            recognition.Connect(address, port);
            WaitConsoleReadLine();
        }