windows phone 8 classes

WP8 classes in C#  and xaml to get accelerometer values and send them to
the server using websockets