GroupDocs.Metadata 20.1.0

GroupDocs.Metadata for .NET is a full featured class library which allows users to read and edit metadata associated with various document, image, audio, video and many other formats. It works with most notable metadata standards: XMP, EXIF, IPTC, Image Resource Blocks, ID3 and format-specific metadata properties. The Metadata API is very flexible and easy to operate with. It provides extended capabilities allowing working with metadata in a unified way regardless of the file format.

Features:

 * Reading, updating and removing metadata in a variety of formats
 * Searching, updating and removing particular metadata properties that satisfy a specified predicate
 * Using tags to easily manipulate most common metadata properties in a unified manner
 * Working with password-protected documents
 * Extracting information about hidden document pages, digital signatures, user comments, revisions, etc
 * Working with the most popular metadata standards: IPTC, XMP, EXIF, Image Resources
 * Manipulating native metadata properties in various formats, extracting technical information from images, audio and video files
 * Calculating common document statistics (word count, character count, etc)
 * Detecting the format and MIME type of a file by its internal structure
 * Working with various audio tags (ID3, Lyrics, APE)

Supported document formats:

 * Microsoft Word documents - DOC, DOT, DOCX, DOCM, DOTX, DOTM, RTF;
 * Microsoft Excel spreadsheets - XLS, XLT, XLSB, XLSX, XLSM, XLTX, XLTM;
 * Microsoft PowerPoint presentations - PPT, PPS, POT, PPTX, PPTM, POTX, POTM, PPSX, PPSM;
 * Microsoft Visio diagrams - VSD, VSS, VDX, VSX, VTX, VSDX;
 * Microsoft Project - MPP, MPT;
 * Microsoft OneNote - ONE;
 * Open Document formats - ODP, ODS, ODT;
 * Portable Document Formats - PDF, AI, AIT;
 * AutoCAD - DWG, DXF;
 * Email - EML, MSG;
 * Image - BMP, DIB, DCM, DC3, DIC, DICM, DJVU, DJV, GIF, J2C, J2K, JPC, JP2, JPF, JPM, JPX, JPEG, JPG, JPE, PNG, JNG, MNG, PSD, PSB, PSDT, TIFF, TIF, WEBP, EMF, WMF;
 * Audio - MP3, WAV;
 * Video - ASF, AVI, FLV, MKA, MKV, MKS, MOV, QT, WEBM;
 * Ebook - EPUB;
 * Fonts - OTF, TTF, TTC;
 * Other formats - TORRENT, VCF, VCARD;
 * Archive - ZIP.

For more details on the GroupDocs.Metadata for .NET API, please visit GroupDocs website at:
https://products.groupdocs.com/metadata/net

Note: GroupDocs.Metadata for .NET will run in evaluation mode. In order to test full features of the product, please request a free 30-day temporary license.

Install-Package GroupDocs.Metadata -Version 20.1.0
dotnet add package GroupDocs.Metadata --version 20.1.0
<PackageReference Include="GroupDocs.Metadata" Version="20.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GroupDocs.Metadata --version 20.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Document Metadata Processing Features

  • Read, update and remove metadata from a variety of document formats.
  • Search, update and remove particular metadata properties as per specified predicate.
  • Use tags to easily manipulate most common metadata properties in a unified manner.
  • Work with password-protected documents.
  • Extract information about hidden document pages, digital signatures, user comments, revisions, etc.
  • Supports many popular metadata standards, such as, IPTC, XMP, EXIF, Image Resources.
  • Manipulate native metadata properties in various formats.
  • Extract technical information from images, audio and video files.
  • Calculate common document statistics (word count, character count, etc.).
  • Detect the format and MIME type of a file by its internal structure.
  • Work with various audio tags (ID3, Lyrics, APE).
  • Load file from a local disk or a stream.
  • Load a file of a specific format or load a password protected file.
  • Traverse a whole metadata tree.
  • Work with the APEv2, ID3v1, ID3v2, Lyrics & other tags of MP3 metadata.

Read & Write Formats

Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX
Microsoft Excel: XLSX, XLSM, XLTM, XLS
Microsoft PowerPoint: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS
Microsoft Visio: VSD, VDX, VSDX, VSS, VSX
Microsoft OneNote: ONE
Microsoft Project: MPP
OpenOffice: ODS, ODT, OTF, OTC
Audio: MP3, WAV
Video: AVI, MOV / QT, ASF, FLV
Email: EML, MSG, VCF, VCR
Image: BMP, GIF, JPG, JPEG, JPE, JP2, PNG, TIFF, DICOM, WEBP
Archive: ZIP
Font: TTF, TTC
Metafile: EMF, WMF
Adobe Photoshop: PSD
AutoCAD: DWG, DXF
Portable: PDF
eBook: EPUB, DJVU, DJV
Other: TORRENT

Platform Independence

Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure.
Mac OS: Mac OS X
Linux: Ubuntu, OpenSUSE, CentOS and others.
Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later.
Supported Frameworks: .NET framework and Mono.

Getting Started with GroupDocs.Metadata for .NET

Are you ready to give GroupDocs.Metadata for .NET a try? Simply execute Install-Package GroupDocs.Metadata from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Metadata assembly in your project. If you already have GroupDocs.Metadata for .Net and want to upgrade it, please execute Update-Package GroupDocs.Metadata to get the latest version.

Please check the GitHub Repository for common usage scenarios.

Use C# to Remove All Metadata Properties from a Document

using (Metadata metadata = new Metadata(Constants.InputPdf))
{
    // Remove detected metadata packages
    var affected = metadata.Sanitize();
    Console.WriteLine("Properties removed: {0}", affected);

    metadata.Save(Constants.OutputPdf);
}

Extract Metadata from Files via C# Code

foreach (string file in Directory.GetFiles(Constants.InputPath))
{
    using (Metadata metadata = new Metadata(file))
    {
        if (metadata.FileFormat != FileFormat.Unknown && !metadata.GetDocumentInfo().IsEncrypted)
        {
            Console.WriteLine();
            Console.WriteLine(file);

            // fetch all metadata properties that fall into a particular category
            var properties = metadata.FindProperties(p => p.Tags.Any(t => t.Category == Tags.Content));
            Console.WriteLine("The metadata properties describing some characteristics of the file content: title, keywords, language, etc.");
            foreach (var property in properties)
            {
                Console.WriteLine("{0} = {1}", property.Name, property.Value);
            }

            // fetch all properties having a specific type and value
            var year = DateTime.Today.Year;
            properties = metadata.FindProperties(p => p.Value.Type == MetadataPropertyType.DateTime &&
                                                     p.Value.ToStruct(DateTime.MinValue).Year == year);

            Console.WriteLine("All datetime properties with the year value equal to the current year");
            foreach (var property in properties)
            {
                Console.WriteLine("{0} = {1}", property.Name, property.Value);
            }
        }
    }
}

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Temporary License

Document Metadata Processing Features

  • Read, update and remove metadata from a variety of document formats.
  • Search, update and remove particular metadata properties as per specified predicate.
  • Use tags to easily manipulate most common metadata properties in a unified manner.
  • Work with password-protected documents.
  • Extract information about hidden document pages, digital signatures, user comments, revisions, etc.
  • Supports many popular metadata standards, such as, IPTC, XMP, EXIF, Image Resources.
  • Manipulate native metadata properties in various formats.
  • Extract technical information from images, audio and video files.
  • Calculate common document statistics (word count, character count, etc.).
  • Detect the format and MIME type of a file by its internal structure.
  • Work with various audio tags (ID3, Lyrics, APE).
  • Load file from a local disk or a stream.
  • Load a file of a specific format or load a password protected file.
  • Traverse a whole metadata tree.
  • Work with the APEv2, ID3v1, ID3v2, Lyrics & other tags of MP3 metadata.

Read & Write Formats

Microsoft Word: DOC, DOT, DOCX, DOCM, DOTX
Microsoft Excel: XLSX, XLSM, XLTM, XLS
Microsoft PowerPoint: PPTX, PPTM, PPSX, PPSM, POTX, POTM, PPT, PPS
Microsoft Visio: VSD, VDX, VSDX, VSS, VSX
Microsoft OneNote: ONE
Microsoft Project: MPP
OpenOffice: ODS, ODT, OTF, OTC
Audio: MP3, WAV
Video: AVI, MOV / QT, ASF, FLV
Email: EML, MSG, VCF, VCR
Image: BMP, GIF, JPG, JPEG, JPE, JP2, PNG, TIFF, DICOM, WEBP
Archive: ZIP
Font: TTF, TTC
Metafile: EMF, WMF
Adobe Photoshop: PSD
AutoCAD: DWG, DXF
Portable: PDF
eBook: EPUB, DJVU, DJV
Other: TORRENT

Platform Independence

Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure.
Mac OS: Mac OS X
Linux: Ubuntu, OpenSUSE, CentOS and others.
Development Environments: Microsoft Visual Studio (2010 & up), Xamarin.Android, Xamarin.IOS, Xamarin.Mac, MonoDevelop 2.4 and later.
Supported Frameworks: .NET framework and Mono.

Getting Started with GroupDocs.Metadata for .NET

Are you ready to give GroupDocs.Metadata for .NET a try? Simply execute Install-Package GroupDocs.Metadata from Package Manager Console in Visual Studio to fetch & reference GroupDocs.Metadata assembly in your project. If you already have GroupDocs.Metadata for .Net and want to upgrade it, please execute Update-Package GroupDocs.Metadata to get the latest version.

Please check the GitHub Repository for common usage scenarios.

Use C# to Remove All Metadata Properties from a Document

using (Metadata metadata = new Metadata(Constants.InputPdf))
{
    // Remove detected metadata packages
    var affected = metadata.Sanitize();
    Console.WriteLine("Properties removed: {0}", affected);

    metadata.Save(Constants.OutputPdf);
}

Extract Metadata from Files via C# Code

foreach (string file in Directory.GetFiles(Constants.InputPath))
{
    using (Metadata metadata = new Metadata(file))
    {
        if (metadata.FileFormat != FileFormat.Unknown && !metadata.GetDocumentInfo().IsEncrypted)
        {
            Console.WriteLine();
            Console.WriteLine(file);

            // fetch all metadata properties that fall into a particular category
            var properties = metadata.FindProperties(p => p.Tags.Any(t => t.Category == Tags.Content));
            Console.WriteLine("The metadata properties describing some characteristics of the file content: title, keywords, language, etc.");
            foreach (var property in properties)
            {
                Console.WriteLine("{0} = {1}", property.Name, property.Value);
            }

            // fetch all properties having a specific type and value
            var year = DateTime.Today.Year;
            properties = metadata.FindProperties(p => p.Value.Type == MetadataPropertyType.DateTime &&
                                                     p.Value.ToStruct(DateTime.MinValue).Year == year);

            Console.WriteLine("All datetime properties with the year value equal to the current year");
            foreach (var property in properties)
            {
                Console.WriteLine("{0} = {1}", property.Name, property.Value);
            }
        }
    }
}

Product Page | Documentation | API Reference | Code Samples | Blog | Free Support | Temporary License

Release Notes

https://docs.groupdocs.com/display/metadatanet/GroupDocs.Metadata+for+.NET+20.1+Release+Notes

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
20.1.0 212 1/23/2020
19.11.0 158 11/29/2019
19.5.1 820 6/14/2019
19.5.0 149 5/29/2019
19.4.0 251 4/4/2019
19.3.0 141 3/7/2019
19.2.0 167 2/7/2019
19.1.0 225 1/10/2019
18.12.0 220 12/5/2018
18.11.0 255 11/1/2018
18.10.0 303 10/5/2018
18.9.0 262 9/4/2018
18.8.0 306 8/3/2018
18.7.0 279 7/2/2018
18.6.0 270 6/4/2018
18.5.0 339 5/10/2018
18.4.0 373 4/12/2018
18.2.0 418 2/7/2018
18.1.0 381 1/12/2018
17.12.0 393 12/12/2017
17.11.0 383 11/6/2017
17.10.2 479 10/24/2017
17.10.1 325 10/10/2017
17.10.0 353 10/3/2017