Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License
This .NET API can be consumed to integrate metadata viewer, editor, reader, writer, and remover operations within your .NET apps.
- Search, update and remove particular metadata properties as per specified predicate.
- Use tags to easily manipulate most common metadata properties in a unified manner.
- View or manipulate metadata of 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 the file by its internal structure.
- Work with various audio tags (ID3, Lyrics, APE).
- Traverse the metadata tree.
- Work with the APEv2, ID3v1, ID3v2, Lyrics & other tags of MP3 metadata.
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
GroupDocs.Metadata for .NET does not require any external software or a third-party tool to be installed. GroupDocs.Metadata for .NET supports any 32-bit or 64-bit operating system where .NET or Mono framework is installed. The other details are as follows:
Microsoft Windows: Microsoft Windows Desktop (x86, x64) (XP & up), Microsoft Windows Server (x86, x64) (2000 & up), Windows Azure
macOS: Mac OS X
Linux: 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: GroupDocs.Conversion for .NET supports .NET and Mono frameworks.
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 other common usage scenarios.
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);
}
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 | Docs | Demos | API Reference | Examples | Blog | Free Support | Temporary License