public void CreateOneItemWithMediaContent(Rss20 rss) { // create the channel CommonSetCoreChannelPropertiesUsingObjects(rss, "CREATE CHANNEL WITH EXTENDED PROPERTIES PLUS ONE ITEM WITH EXTENSION AND ONE MEDIA CONTENT ITEM"); // set using extended properties objects, no media CommonSetExtendedChannelPropertiesUsingObjects(rss); // define new item RssItem itm = new RssItem(); // add the core item CommonSetCoreItemPropertiesUsingObjects(itm); // add the extended item objects CommonSetExtendedItemPropertiesUsingObjects(itm); // Create the media content item RssMediaContent mc = new RssMediaContent(); mc.url = "http://something.com/media/movie.mp4"; mc.fileSize = 1000000; mc.type = "video/mp4"; mc.medium = "video"; mc.isDefault = true; mc.expression = "full"; mc.bitrate = 128; mc.frameRate = 30; mc.samplingrate = 44.1; mc.channels = 2; mc.duration = 185; mc.width = 400; mc.height = 200; mc.lang = "en"; itm.AddMediaContentItem(mc); // add the item rss.channel.AddItem(itm); }