GroupDocs.Metadata for .NET 24.11 Release Notes

Major Features

There are the following features, enhancements, and fixes in this release:

  • Add support for .mobi format

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
METADATANET-4088Support MOBI formatNew Feature

Public API and Backward Incompatible Changes

Implement the ability to configure cache for heavy operations

Public API changes

The MobiRootPackage class has been added to the GroupDocs.Metadata.Formats.Ebook namespace

Use cases

Read .mobi properties

using (Metadata metadata = new Metadata("C:\sample.mobi"))
{
    var root = metadata.GetRootPackage<MobiRootPackage>();

    Console.WriteLine(root.MobiPackage.PDBHeader.Name);
    Console.WriteLine(root.MobiPackage.PDBHeader.Creator);
    Console.WriteLine(root.MobiPackage.MobiHeader.FullName);
    Console.WriteLine(root.MobiPackage.MobiHeader.MobiType);
}