there are several ways to do that:
a. change the Show File Extensions
through the UI by using the UIA Framework
- -Not Recommended-
b. retrieve the Folder Path
through the UIA or any other way and then through the File
Class, call the Method File.GetFiles
and then Path.GetExtension
to get the extension of each file.
- -Recommended