Exemplo n.º 1
0
        static void Main(string[] args)
        {
            try
            {
                using (var kinect = new KinectSensor())
                {
                    using (var stream = new KinectImageStream())
                    {
                    }

                    Thread.Sleep(2000);
                }
            }
            catch (System.Runtime.InteropServices.COMException ex)
            {
                Console.WriteLine(ex);
            }
        }
Exemplo n.º 2
0
        static void Main(string[] args)
        {
            try
            {
                using (var kinect = new KinectSensor())
                {
                    using (var stream = new KinectImageStream())
                    {

                    }

                    Thread.Sleep(2000);
                }
            }
            catch(System.Runtime.InteropServices.COMException ex)
            {
                Console.WriteLine(ex);
            }
        }