How to get extension file from local folder? I have many file on library folder on the package
BookAudio Class:
class BookAudio
{
public string Name { get; set; }
}
I mean is not on drive E:\ or another, but in a package folder "Library". code: StorageFolder library = await installedLocation.CreateFolderAsync ("library", CreationCollisionOption.OpenIfExists); And I want to take the extension into if, for example: if the extension pdf, then navigate to the page pdfView.