GroupDocs.Metadata for .NET offers an advanced set of metadata management and manipulation features, allowing developers to easily read, edit, remove, search, compare, replace and export metadata information from images and document formats without using any external software. Extract metadata details from PDF, Word, Excel, PowerPoint, Outlook, OneNote, Visio, Project, AutoCAD, Archive and Multimedia file formats, and perform supported metadata operations with true flexibility.
GroupDocs.Metadata makes it easy for .NET developers to read and extract metadata information from VCF files from within their applications by implementing a few easy steps.
GroupDocs.Metadata for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
using (var metadata = new GroupDocs.Metadata.Metadata("input.vcf"))
{
// extract all metadata properties that fall into a particular category
var properties = metadata.FindProperties(
p => p.Tags.Any(t => t.Category == GroupDocs.Metadata.Tagging.Tags.Content));
// iterate over all properties and display
foreach (var property in properties)
{
Console.WriteLine("{0} = {1}", property.Name, property.Value);
}
// extract all properties having a specific type and value
var year = DateTime.Today.Year;
properties = metadata.FindProperties(
p => p.Value.Type == GroupDocs.Metadata.Common.MetadataPropertyType.DateTime &&
p.Value.ToStruct(DateTime.MinValue).Year == year);
// display 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);
}
// extract all properties having names matching the specified regex
const string pattern = "^author|company|(.+date.*)$";
var regex = new System.Text.RegularExpressions.Regex(pattern,
System.Text.RegularExpressions.RegexOptions.IgnoreCase);
properties = metadata.FindProperties(p => regex.IsMatch(p.Name));
// display properties whose names match the following pattern
foreach (var property in properties)
{
Console.WriteLine("{0} = {1}", property.Name, property.Value);
}
}
Retrieve metadata information of VCF file right now by visiting GroupDocs.Metadata Live Demos website.
The live demo has the following benefits
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
VCF (Virtual Card Format) or vCard is a digital file format for storing contact information. The format is widely used for data interchange among popular information exchange applications. Most operating systems such as Windows and MacOS come with default applications to create and open these files. A single VCF file can contain contact information for one or multiple contacts. A VCF file usually contains information such as contact’s name, address, phone number, email, birthday, photographs and audio in addition to a number of other fields. Being supported by email clients and services, there is no loss of data during the transfer of contacts via using the vCard format. The media type for VCF file format is text/vcard.
Read More About VCF File FormatMulti format documents and images metadata extraction API for .NET. Retrieve metadata of some of the popular file formats as stated below.
(Adobe Portable Document Format)
(Microsoft Word Document)
(Microsoft Word Macro-Enabled Document)
(Microsoft Word Open XML Document)
(Microsoft Word Document Template)
(Word Open XML Document Template)
(Microsoft Excel Binary File Format)
(Microsoft Excel Open XML Spreadsheet)
(Microsoft Excel Macro-Enabled Spreadsheet)
(OOXML Macro Enabled Workbook Template)
(PowerPoint Presentation)
(Microsoft PowerPoint Slide Show)
(PowerPoint Open XML Presentation)
(PowerPoint Open XML Slide Show)
(Microsoft PowerPoint Open XML Template)
(Microsoft PowerPoint Template)
(Microsoft PowerPoint Presentation)
(Microsoft PowerPoint Slide Show)
(Open Document Spreadsheet)
(Open Document Text)
(Tagged Image File Format)
(JPEG Image)
(Portable Network Graphic)
(Graphical Interchange Format File)
(Bitmap File Format)
(JPEG 2000 Core Image File)
(Raster Web Image File Format)
(Adobe Photoshop Document)
(Windows Metafile)
(Enhanced Metafile Format)
(Microsoft Project Document)
(Microsoft Outlook E-mail Message)
(E-mail Message)
(Autodesk Design Data Formats)
(AutoCAD Drawing Interchange)
(Microsoft OneNote)
(MPEG Audio Layer III)
(Waveform Audio File Format)
(Digital Imaging & Comm in Medicine)
(Audio Video Interleave File)
(Microsoft Visio 2003-2010 Drawing)
(Microsoft Visio Drawing)
(Microsoft Visio 2003-2010 Stencil)
(Microsoft Visio 2003-2010 XML Drawing)
(Microsoft Visio 2003-2010 XML Stencil)
(Archive File Format)
(Digital E-Book File Format)
(Electronic Business Card)
(vCard)