.NET library to read, write, and convert VCF files that match the vCard standards 2.1, 3.0, 7216 and 4.0
FolkerKinzel.VCards is a full featured .NET library to work with vCard files (*.vcf).
It allows
- to load VCF files from the file system and to save them there,
- to serialize VCF files from and to Streams and
- to convert VCF files that match the vCard versions 2.1, 3.0, and 4.0 to each other.
Parse errors, caused by not well-formed VCF files, are silently ignored by the library: It reads as much as it can from such files. The same is for errors caused by incompliant data when serializing the vCard: Because of the different vCard standards are not completely compliant, incompliant data is silently ignored when converting from one vCard standard to another. To minimize this kind of data loss, the library tries to preserve incompliant data using well-known x-name properties. The usage of such x-name properties can be controlled via options (VcfOptions).
Project Reference and Release Notes
Read the "Getting Started" tutorial if you are new to this library!
- Getting started
- Reading and writing of VCF files
- Example implementation of ITimeZoneIDConverter
- Automatic detection of VCF files written with ANSI encodings
- Reading and writing GROUP vCards
- Connecting vCards
(All of the examples are in C# and with nullable reference types enabled. For the sake of better readability, exception handling and parameter validation has been omitted.)