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
<PackageReference Include="HaemmerElectronics.SeppPenner.CalDAVNet" Version="1.1.0" />
<PackageVersion Include="HaemmerElectronics.SeppPenner.CalDAVNet" Version="1.1.0" />
<PackageReference Include="HaemmerElectronics.SeppPenner.CalDAVNet" />
paket add HaemmerElectronics.SeppPenner.CalDAVNet --version 1.1.0
#r "nuget: HaemmerElectronics.SeppPenner.CalDAVNet, 1.1.0"
#:package HaemmerElectronics.SeppPenner.CalDAVNet@1.1.0
#addin nuget:?package=HaemmerElectronics.SeppPenner.CalDAVNet&version=1.1.0
#tool nuget:?package=HaemmerElectronics.SeppPenner.CalDAVNet&version=1.1.0
CalDAVNet
CalDAVNet is a project to access CalDAV servers and a fork of https://github.com/markatk/CalDAV.NET.
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 | Versions 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. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
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.