예제 #1
0
        public void ApplyMulticastRcvSettings(List <MulticastGroupSettings> newSettings)
        {
            var confString = JsonConvert.SerializeObject(newSettings);

            Properties.Settings.Default.MulticastReceiverSettings = confString;
            Properties.Settings.Default.Save();

            var e = new MulticastRcvSettingsEventArgs(newSettings);

            OnMulticastRcvSettingsChanged(e);
        }
예제 #2
0
 protected void OnMulticastRcvSettingsChanged(MulticastRcvSettingsEventArgs e)
 {
     Volatile.Read(ref MulticastRcvSettingsChanged)?.Invoke(this, e);
 }