Winner's Excogitations

A chronicle of the thoughts, learning experiences, ideas and actions of a tech junkie, .NET, JS and Mobile dev, aspiring entrepreneur, devout Christian and travel enthusiast.

[HOW TO] Working with vCardLib

7 years ago ยท 1 minute read

This documentation page is now obsolete, newer documentation with all new changes can be found on the dedicated documentation page

spbeo6ukiedn6rdwqhx7

vCardLib is a library written entirely in C# for .NET. It is a library that enables contacts to be read from a VCF file. It can read multiple contacts from a single vCard file or single contacts from a single vcf file. The contacts are read into a vCardCollection object which is a collection of vCard objects. These vCard objects have properties that store contact information. As at now, the library supports only vCard version 2.1, support for versions 3.0 and 4.0 will be added shortly. Also, the photo extraction code is buggy and has been extracted from the production code, to see it, visit the GitHub link https://www.github.com/bolorundurowb/VCF-Reader

To make use of the library, add it to the project references and

using vCardLib;
...

var contacts = vCard.FromFile(@"vcf/ file /path");
foreach(var contact in contacts)
{
   \\ statements
}

The library can also be gotten from Nuget at https://www.nuget.org/packages/vCardLib.dll/

To see a test application using this library https://sourceforge.net/projects/vcf-reader/

Share on:
The Greatest Apostle?
An article putting forth my objections to our ranking of spiritual things because their value isn't determined by human.
What the Git HEAD is
A detailed explanation of what the Git Head is and how it works
Winner-Timothy Bolorunduro
Winner-Timothy Bolorunduro is a senior .NET developer with over 6 years experience helping organizations and individuals build compelling, stable and scalable web applications. Having spent the last three years in a fast-paced startup environment working remotely, he understands what goes into being part of a team that produces value for clients.

Comments