RSS Development - FeedManager

In the CommonRSS application I am creating I started looking at using the Microsoft Feeds API. This API will allow me to check whether any new feeds are available within the Windows RSS platform.

using Microsoft.Feeds.Interop;
public static int TotalUnreadItemCount()
{
    try
    {
        FeedsManager fm = new FeedsManager();
        IFeedFolder rootfolder = (IFeedFolder)fm.RootFolder; 

        return rootfolder.TotalUnreadItemCount;
    }
    catch
    {
        return 0;
    }
}
Technorati Tags:


Comment Section

Comments are closed.