/// <summary> Refresh the list of mime types by pulling the data back from the database </summary> /// <returns> TRUE if successful, otherwise FALSE </returns> public static bool RefreshMimeTypes() { try { lock (mimeTypesLock) { if (mimeTypes == null) { mimeTypes = new Dictionary <string, Mime_Type_Info>(); } Engine_Database.Populate_MIME_List(mimeTypes, null); } return(true); } catch { return(false); } }