using System.Collections.Generic;
public TimeSpan TimePosition;
public string PlayerProfile;
public string SiteSectionId;
public string VideoAssetId;
public TimeSpan VideoDuration;
public Dictionary<string, string> ExtraParameters;
public string[] PrerollSlotIds;
public string[] PostrollSlotIds;
public AdSlot[] MidrollSlots;
public AdSlot[] OverlaySlots;
public int? RequestTimeout;
public static void Main()
Settings _freeWheel = new Settings {
ServerUrl = "http://demo.v.fwmrm.net",
PlayerProfile = "96749:global-cocoa",
SiteSectionId = "DemoSiteGroup.01",
VideoAssetId = "DemoVideoGroup.01",
VideoDuration = TimeSpan.FromSeconds(5400),
PrerollSlotIds = new [] { "pre1" },
PostrollSlotIds = new [] { "post1" },
ExtraParameters = new Dictionary<string, string> { { "param1", "value1" } },
new AdSlot { SlotId = "mid1", TimePosition = TimeSpan.FromSeconds(15) },
new AdSlot { SlotId = "mid2", TimePosition = TimeSpan.FromMinutes(2) }
new AdSlot { SlotId = "over1", TimePosition = TimeSpan.FromSeconds(30) },
new AdSlot { SlotId = "over2", TimePosition = TimeSpan.FromMinutes(4) }
Console.WriteLine("Hello World");