Login
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
This documentation page is now obsolete, newer documentation with all new changes can be found on the dedicated documentation page

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/
Comments