Ejemplo n.º 1
0
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            var client = new SSDPClient();

            client.SearchForDevices();
            client.DeviceFound += ClientOnDeviceFound;
        }
Ejemplo n.º 2
0
        public App()
        {
            InitializeComponent();
            SplashFactory = (e) => new Views.Splash(e);

            ssdpClient              = new SSDPClient();
            ssdpClient.DeviceFound += SsdpClient_DeviceFound;


            wifiClient              = new WiFiClient();
            wifiClient.DeviceFound += WifiClient_DeviceFound;

            #region App settings

            var _settings = SettingsService.Instance;
            RequestedTheme      = _settings.AppTheme;
            CacheMaxDuration    = _settings.CacheMaxDuration;
            ShowShellBackButton = _settings.UseShellBackButton;

            #endregion
        }