PortalInfo portalInfo = await portal.GetPortalInfoAsync(); string thumbnailPath = portalInfo.PortalThumbnailUri?.AbsoluteUri; if (portal.IsSignedOn() && !string.IsNullOrEmpty(thumbnailPath)) { var token = portal.GetToken(); if (!string.IsNullOrEmpty(token)) { thumbnailPath += "?token=" + token; } }
Target Platforms: Windows 10, Windows 8.1, Windows 7