HaemmerElectronics.SeppPenner.CalDAVNet 1.1.0

Prefix Reserved
dotnet add package HaemmerElectronics.SeppPenner.CalDAVNet --version 1.1.0
                    
NuGet\Install-Package HaemmerElectronics.SeppPenner.CalDAVNet -Version 1.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HaemmerElectronics.SeppPenner.CalDAVNet" Version="1.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HaemmerElectronics.SeppPenner.CalDAVNet" Version="1.1.0" />
                    
Directory.Packages.props
<PackageReference Include="HaemmerElectronics.SeppPenner.CalDAVNet" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HaemmerElectronics.SeppPenner.CalDAVNet --version 1.1.0
                    
#r "nuget: HaemmerElectronics.SeppPenner.CalDAVNet, 1.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HaemmerElectronics.SeppPenner.CalDAVNet@1.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HaemmerElectronics.SeppPenner.CalDAVNet&version=1.1.0
                    
Install as a Cake Addin
#tool nuget:?package=HaemmerElectronics.SeppPenner.CalDAVNet&version=1.1.0
                    
Install as a Cake Tool

CalDAVNet

CalDAVNet is a project to access CalDAV servers and a fork of https://github.com/markatk/CalDAV.NET.

Build status GitHub issues GitHub forks GitHub stars License: MIT Nuget NuGet Downloads Known Vulnerabilities Gitter Blogger Patreon PayPal

Available for

  • Net 10.0
  • Net 11.0

Net Core and Net Framework latest and LTS versions

Basic usage

using Ical.Net.CalendarComponents;

/// <summary>
/// The main method.
/// </summary>
public static async Task Main()
{
    // Create client.
    var calDavClient = new Client("http://192.168.2.2/caldav.php/user/someid", "user", "password");

    // Get all calendars for the user.
    var calendars = await calDavClient.GetAllCalendars();

    // Get the calendar by the uid.
    var calendarByUid = await calDavClient.GetCalendarByUid("/caldav.php/user/uniqueid/");

    // Get the default calendar.
    var defaultCalendar = await calDavClient.GetDefaultCalendar();

    // Get only the events of March 2026 from the calendar the client was created with.
    var events = await calDavClient.GetEvents(new DateTimeOffset(2026, 3, 1, 0, 0, 0, TimeSpan.Zero), new DateTimeOffset(2026, 4, 1, 0, 0, 0, TimeSpan.Zero));

    // Add an event.
    var calendarEvent = new CalendarEvent();
    var added = await calDavClient.AddOrUpdateEvent(calendarEvent, new Ical.Net.Calendar());

    // Delete an event.
    var deleted = await calDavClient.DeleteEvent(calendarEvent);
}

NuGet

The project can be found on nuget.

Install

dotnet add package HaemmerElectronics.SeppPenner.CalDAVNet

Change history

See the Changelog.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.1.0 92 11/24/2026
1.0.4 92 11/24/2026
1.0.3 509 11/24/2024
1.0.2 319 5/16/2024
1.0.1 423 12/7/2023
1.0.0 306 11/11/2023

Version 1.1.0.0 (2026-11-24): Removed support for Net8.0 as it is out of support, added support for Net11.0, updated NuGet packages, the calendars are found through the calendar home set of the principal now (fixes SOGo), the event query filters on VEVENT, calendar data is decoded before it reaches Ical.Net, added GetEvents with a time range. The new public API is why the minor version is raised.