C# .net 中 ics 文件的解析器
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/498938/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
parser for ics files in .net
提问by thiswayup
I'm trying to figure out the best way take a ics file and convert it into a format I can put into a database. Can anyone recommend how to do this?
我试图找出获取 ics 文件并将其转换为可以放入数据库的格式的最佳方法。任何人都可以推荐如何做到这一点?
采纳答案by tamberg
The commercial .NET library Aspose.iCal does the job
商业 .NET 库 Aspose.iCal 可以完成这项工作
http://www.aspose.com/community/blogs/salman.sarfraz/archive/2008/11/21/where-is-aspose-icalendar.aspx(used to be http://www.aspose.com/categories/file-format-components/aspose.network-for-.net/default.aspx)
http://www.aspose.com/community/blogs/salman.sarfraz/archive/2008/11/21/where-is-aspose-icalendar.aspx(曾经是http://www.aspose.com/categories /file-format-components/aspose.network-for-.net/default.aspx)
Or this open source parser (didn't try it)
或者这个开源解析器(没试过)
http://sourceforge.net/projects/icalparser/
http://sourceforge.net/projects/icalparser/
And this online iCal validator comes in handy
这个在线 iCal 验证器派上用场
http://severinghaus.org/projects/icv/
http://severinghaus.org/projects/icv/
Regards, tamberg
问候,坦贝格
回答by Darin Dimitrov
回答by Smile4ever
I used https://github.com/der-Daniel/ical.NETwhich is also available on Nuget.
我使用了https://github.com/der-Daniel/ical.NET,它也在 Nuget 上可用。