WPF Client code for bugsense