GroupDocs.Metadata 26.5.0

Prefix Reserved
dotnet add package GroupDocs.Metadata --version 26.5.0
                    
NuGet\Install-Package GroupDocs.Metadata -Version 26.5.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GroupDocs.Metadata" Version="26.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GroupDocs.Metadata" Version="26.5.0" />
                    
Directory.Packages.props
<PackageReference Include="GroupDocs.Metadata" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GroupDocs.Metadata --version 26.5.0
                    
#r "nuget: GroupDocs.Metadata, 26.5.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GroupDocs.Metadata@26.5.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GroupDocs.Metadata&version=26.5.0
                    
Install as a Cake Addin
#tool nuget:?package=GroupDocs.Metadata&version=26.5.0
                    
Install as a Cake Tool

GroupDocs.Metadata for .NET

Extract, edit, and remove metadata from documents, images, audio, and video files. This package automatically selects the correct runtime assemblies for your target framework.

Quick Start

using GroupDocs.Metadata;

using (var metadata = new Metadata("input.docx"))
{
    var info = metadata.GetDocumentInfo();
    Console.WriteLine($"Pages: {info.PageCount}");
}

Runtime Selection (TFM Split)

GroupDocs.Metadata is a lightweight router (metapackage). When you install it, NuGet pulls exactly one runtime package matching your project’s target framework.

Available Runtime Packages

Package Target Framework
GroupDocs.Metadata.Net472 .NET Framework 4.7.2
GroupDocs.Metadata.NetStandard21 .NET Standard 2.1
GroupDocs.Metadata.Net60 .NET 6.0
GroupDocs.Metadata.Net80 .NET 8.0

You can also install a specific runtime package directly if you want full control.

Examples

Inspect a document (format, pages, encryption)

using GroupDocs.Metadata;

using (var metadata = new Metadata("input.xlsx"))
{
    var info = metadata.GetDocumentInfo();
    Console.WriteLine($"Format: {info.FileType.FileFormat}");
    Console.WriteLine($"Extension: {info.FileType.Extension}");
    Console.WriteLine($"Pages: {info.PageCount}");
    Console.WriteLine($"Encrypted: {info.IsEncrypted}");
}

Remove selected metadata properties

using GroupDocs.Metadata;
using GroupDocs.Metadata.Tagging;

using (var metadata = new Metadata("input.docx"))
{
    int affected = metadata.RemoveProperties(p =>
        p.Tags.Contains(Tags.Person.Creator) ||
        p.Tags.Contains(Tags.Person.Editor));

    Console.WriteLine($"Properties removed: {affected}");
    metadata.Save("output.docx");
}

Supported Formats (high level)

This API supports a broad set of document and media formats, including:

  • Word Processing: DOC, DOCX, DOCM, RTF, ODT
  • Spreadsheets: XLS, XLSX, XLSM, ODS, CSV
  • Presentations: PPT, PPTX, PPS, PPSX
  • PDF: PDF
  • Images: JPG, PNG, TIFF, BMP, GIF, PSD
  • Audio/Video: MP3, WAV, AVI, MOV, MKV
  • Archives/Fonts: ZIP, OTF, TTF

For the full list, see the product documentation.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
26.5.0 0 5/6/2026
26.3.0 923 3/31/2026
26.1.0 1,067 1/30/2026
25.10.0 1,718 11/6/2025
25.8.0 1,412 8/1/2025
25.7.0 332 7/17/2025
25.6.0 341 6/25/2025
25.5.0 662 5/27/2025
25.4.0 760 4/21/2025
25.3.0 900 3/20/2025
25.2.0 1,049 2/27/2025
25.1.0 2,700 1/22/2025
24.12.0 401,563 12/23/2024
24.11.0 10,277 11/19/2024
24.10.0 2,541 10/17/2024
24.9.0 67,732 9/20/2024
24.8.0 2,283 8/12/2024
24.7.0 2,076 7/24/2024
24.6.0 2,286 6/20/2024
24.5.1 843 5/21/2024
Loading failed