[Mono-dev] Retrieving file type names.

naurispunk nauris_punk at inbox.lv
Mon Oct 11 09:08:30 EDT 2010


Hi

Im trying to create a function (Function GetFileTypeName(Extension As
String) as String) that returns file type name -  the one you can see under
file Properties (Basic tab). For example text file would have something like
"plain text document (text/plain)". 

As far as I can understand information about file type captions are kept in
more than one place in xml files:
/usr/share/mime
/usr/local/share/mime
~/.local/share/mime
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Retrieving-file-type-names-tp2989743p2989743.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list