private void MainPage_OnLoaded(object sender, RoutedEventArgs e) { config = new SuperCacheConfig { WhiteList = new[] { "www.wikipedia.com", "www.toysrus.com", "blogs.msdn.com", "www.catuhe.com" }, Mode = DefenseMode.PoneyAugmentedProtectionAnalyzer }; }
public static IAsyncAction StartAsync(Uri baseUri, SuperCacheConfig configuration) { webServer = new WebServer(); return webServer.StartAsync(baseUri, configuration); }