How to get tcm id of a multimedia type say jpg from Tridion through Core Service?
tridion
Solution
You can just get a list of all multimedia types and then select the one you need:
var mmType = ClientAdmin.GetSystemWideList(new MultimediaTypesFilterData()).Single(mt => ((MultimediaTypeData)mt).MimeType == "image/jpeg");
Problem
There are many multimedia types in Administration folder in Tridion. I want to write a method that returns the tcm id for a given mime type, e.g. for gif mime type it should return "tcm:0-1-65544". Can anyone have an idea over this?