Searching on the web I found this code UWP, to get the image but I'm not be able to include namespace Windows.Storage in WPF. I tried to include all possible references but doesn't work. I would have a solution WPF to include Windows.Storage(if possible) or simply another way to implement code to get image
StorageFile image = UserInformation.GetAccountPicture(AccountPictureKind.SmallImage) as StorageFile;
if (image != null)
{
rootPage.NotifyUser("SmallImage path = " + image.Path, NotifyType.StatusMessage);
}
else
{
rootPage.NotifyUser("Small Account Picture is not available", NotifyType.StatusMessage);
mediaPlayer.Visibility = Visibility.Collapsed;
smallImage.Visibility = Visibility.Collapsed;
largeImage.Visibility = Visibility.Collapsed;
}