How to check extension of file using Platform::String?

I'm trying to check whether StorageFile is a zip file. I can convert the StorageFile to it's full name including it's extension.

However there are very little helpful methods within Platform::String that I can use to check file extension.

Jon Skeet
people
quotationmark

Given the name, I'd expect Path.GetExtension to work for you, if you're using the .NET "view" of WinRT. (I don't know if there's a direct equivalent in WinRT itself. Looking now.)

people

See more on this question at Stackoverflow