private async Task Init() { StorageFile file = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Resources/GettingStarted.pdf")); if (file != null) { await ViewerControl.ActivateWithFileAsync(file); } }