public KinectInterop.DepthSensorPlatform GetSensorPlatform() { if (sensorData != null && sensorData.sensorInterface != null) { return sensorData.sensorInterface.GetSensorPlatform(); } return KinectInterop.DepthSensorPlatform.None; }