Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 304 Bytes

storageFileExtensions.md

File metadata and controls

9 lines (9 loc) · 304 Bytes

Extensions

StorageFileExtensions

IsImage

Checks if the file is an image.

  • Returns true if the file is an image, false otherwise.
var file = await StorageFile.GetFileFromApplicationUriAsync(new Uri("ms-appx:///Assets/StoreLogo.png"));
var isImage = await file.IsImageAsync();