How can i get type of file using c#. for example if a file name id \"abc.png\" and type of file will \"PNG Image\" same as third column \"Type\" in window explorer.
The Win-API function SHGetFileInfo() is your friend. Look here for some code snippets.