The software giant, hoping to get more developers writing PC applications to use its motion-sensing controller, is offering some pieces of code under an Apache 2.0 license.
Read more here:
Microsoft offers Kinect code samples under open source | Microsoft - CNET News