Code – UCWA in C# – Part 02 of 05

In previous post Code – UCWA in C# – Part 01 of 05 we made a basis for using UCWA in C#.

In this post we will extend our prototype with ability retrieve and set a personal note, presence and location.

The button GetNote can be pressed to retrieve the personal note of the authenticated user.

The button GetLocation can be pressed to retrieve the location of the authenticated user.

The button GetPresence can be pressed to retrieve the presence of the authenticated user.

Since I used JSON format somewhere in the program below a DataContract – but different techniques are also available to handle JSON in C#.

The button SetPresence can be pressed to adjust the personal note of the authenticated user.

The button SetNote can be pressed to adjust the personal note of the authenticated user.

The button SetLocation can be pressed to adjust the location of the authenticated user.

Best Regards
Francis Missiaen

© 2016 by Francis Missiaen – this is not production code