Is there a way to get the file type displayed in windows explorer in VB.net
i.e in windows explorer in details view one can see for example
Name Date Modified Type Size A.PDF 05/06/2017 5:54PM Adobe Acrobat reader 150kb B.DOCX 05/06/2017 5:00PM Microsoft Word Document 100kb etc.
I want to get the type. I cant seem to find a way to get there. It feels like this should be very easy.
Dim infoReader As System.IO.FileInfo
infoReader = My.Computer.FileSystem.GetFileInfo(txtFileName.Text)
FileInfo gets me modified data and size of the file.. but not the type.
Appreciate forums help!
. I.e. for .pdf file the display with would "adobe acrobat document" .xls file would be "Microsoft excel worksheet"