A newer version of this sample, working for the Universal Windows Platform (UWP) as well as iOS and Android is available from Azure-Samples/active-directory-dotnet-native-multitarget.
If you really wish to view the archived sample, please switch to the archive branch. This code is no longer, maintained and functionality is not guaranteed.