Exemple #1
0
        private async void Test_Load(object sender, EventArgs e)
        {
            await DiscoverCore();

            if (_core == null)
            {
                return;
            }

            _api.StartReceiver(_core.CoreIPAddress, _core.HttpPort, _roonRegister);
        }
Exemple #2
0
        private async void Page_Loaded(object sender, RoutedEventArgs e)
        {
            // await DiscoverCore();
            await DiscoverCore("RICSRV");   // Faster when specifying core name

            Task.Run(() => _api.StartReceiver(_core.CoreIPAddress, _core.HttpPort, _roonRegister));
        }