vCardLib.dll
2.2.5
See the version list below for details.
dotnet add package vCardLib.dll --version 2.2.5
NuGet\Install-Package vCardLib.dll -Version 2.2.5
<PackageReference Include="vCardLib.dll" Version="2.2.5" />
paket add vCardLib.dll --version 2.2.5
#r "nuget: vCardLib.dll, 2.2.5"
// Install vCardLib.dll as a Cake Addin
#addin nuget:?package=vCardLib.dll&version=2.2.5
// Install vCardLib.dll as a Cake Tool
#tool nuget:?package=vCardLib.dll&version=2.2.5
vCardLib
Update: v2.2.0 introduced breaking changes. Details of these changes are on the documentation site
This is the library that powers the VCF Reader. Unlike all other vCard libraries for .NET that I found, this library supports reading multiple contacts from a single vcf file and returns the contact objects in a vCardCollection. The library currently supports only vCard version 2.1 and 3.0 (a curated list of properties supported can be seen on the documentation site).
How to use the library:
First get this package from nuget via your package manager:
Install-Package vCardLib.dll
Then add this using command:
using vCardLib.Deserializers;
In your class you call the static method 'FromFile' and pass a string containing a path to it:
string filePath = //path to vcf file;
vCardCollection contacts = Deserializer.FromFile(filePath);
Or pass a StreamReader object to it:
StreamReader sr = //generate a streamreader somehow;
vCardCollection contacts = Deserializer.FromStreamReader(sr);
Iterate over the collection and pick the vCard objects:
foreach(vCard contact in contacts)
{
Console.WriteLine(contact.FormattedName);
}
complete documentation on github.io
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- CoreCompat.System.Drawing.v2 (>= 5.2.0-preview1-r131)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.0.1 | 28 | 6/13/2024 |
5.0.0 | 1,135 | 2/15/2024 |
4.0.4 | 7,574 | 7/19/2023 |
4.0.3 | 9,443 | 6/26/2022 |
4.0.2 | 434 | 6/22/2022 |
4.0.1 | 1,627 | 1/3/2022 |
4.0.0 | 403 | 12/12/2021 |
3.0.5 | 306 | 1/3/2022 |
3.0.4 | 295 | 12/12/2021 |
3.0.3 | 1,892 | 11/28/2021 |
3.0.2 | 521 | 10/11/2021 |
3.0.1 | 7,367 | 7/4/2020 |
3.0.0 | 607 | 5/31/2020 |
2.2.6 | 1,125 | 8/23/2019 |
2.2.5 | 1,603 | 2/8/2018 |
2.2.4 | 985 | 1/1/2018 |
2.2.3 | 1,053 | 11/28/2017 |
2.2.2 | 1,350 | 8/10/2017 |
2.2.1 | 1,166 | 3/17/2017 |
2.2.0 | 1,146 | 2/26/2017 |
2.1.2 | 1,269 | 12/19/2016 |
2.1.1 | 1,021 | 12/14/2016 |
2.1.0 | 1,418 | 9/15/2016 |
2.0.0 | 1,079 | 6/11/2016 |
1.1.3 | 1,013 | 6/6/2016 |
1.1.2 | 996 | 6/1/2016 |
1.1.1 | 1,136 | 5/9/2016 |
1.1.0 | 1,282 | 4/27/2016 |
1.0.0 | 1,838 | 4/23/2016 |
Fix bugs