I'm able get file type when the file name as file extension say (Filename.pdf) by the help of Path.GetExtension.
But when the file doesn't have file extension say (Filename) only, then extension goes for a toss.
Specially looking for identifying the following format/extension ie. PDF,HTML,ZIP,JPG,JPEG,PNG,DOC.
Do we have any method to get mime type of a file which does not have extension in filename(.pdf).
Looking for solution in Xamarin forms or dependency services(Xamarin.Android).