Every Kinect sensor can be uniquely identified by an instance id. You can track and initialize each device connected based on that instance id when multiple devices are connected to the system. This instance id can be either the DeviceConnectionId or UniqueKinectId.
This tip shows you how to get list of all the Kinect sensor which are connected with system. The KinectSensor class has a static property of type KinectSensorCollection, named KinectSenors which consists of the collection of sensors that are connected with system.
You can turn off the IR Emitter using KinectSensor.ForceInfraredEmitterOff property. By default, this property is set to false. To turn the IR light off, set the property to true. ForceInfraredEmitterOff will only work with Kinect for Windows Sensor. Not Kinect for Xbox Sensor.
If you are dealing with Kinect based application, It is always good practice to first check if there is any Kinect sensor connected with the PC before doing any operation with KinectSensor objects. The KinectSensors holds the reference of all connected sensors and as this is a collection, it has a Count property. You can […]