What kind of component, class or RTTI function I must use to detect the content type from a binary object ?.
Ex. an SQL Server table with a varbinary(max) column save anything data.
I want detect if it is an image, a pdf file, an excel one, a doc(x) or txt file, a sound (mp*, wav, etc), or a video one... for know what editor show for it.