在C#创建文件的iCal [英] Creating iCal Files in c#

查看:454
本文介绍了在C#创建文件的iCal的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在寻找产生在C#(asp.net)iCalendar文件(*的.ic​​s)的好方法。我发现一对夫妇的资源,但一直缺乏已经有一件事是他们的引用可打印字段的支持 - 有回车和换行领域

I'm looking for a good method of generating an iCalendar file (*.ics) in c# (asp.net). I've found a couple resources, but one thing that has been lacking is their support for quoted-printable fields - fields that have carriage returns and line feeds.

例如,如果在说明字段不带codeD正确,只有第一行显示和可能损坏的在*的.ic​​s文件中的信息的其余部分。

For example, if the description field isn't encoded properly, only the first line will display and possibly corrupting the rest of the information in the *.ics file.

我在寻找可以生成* .ics文件和/或能够产生引用可打印字段级的现有的类。

I'm looking for existing classes that can generate *.ics files and/or a class that can generate quoted-printable fields.

推荐答案

我使用 DDay.Ical ,其良好的东东。
有一个不错的对象模型打开iCal文件并获取其数据的能力。它说测试版,但它为我们的伟大工程。

I use DDay.Ical, its good stuff. Has the ability to open up an ical file and get its data in a nice object model. It says beta, but it works great for us.

这篇关于在C#创建文件的iCal的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆