SRF08 Ultrasonic range sensor C# example

Just had a little struggle in using the the SRF08 Ultrasonic
range sensor from robot-electronics.co.uk The
only working samples where written in C++ so I modified some non
working C# samples I found on the net. I've put everything together
in this WPF demo.
source code
(Visual studio 2008 solution)