예제 #1
0
        public void ApplyUnicastSndSettings(UnicastSettings newSettings)
        {
            var confString = JsonConvert.SerializeObject(newSettings);

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

            var e = new UnicastSndSettingsEventArgs(newSettings);

            OnUnicastSndeSettingsChanged(e);
        }
예제 #2
0
 protected void OnUnicastSndeSettingsChanged(UnicastSndSettingsEventArgs e)
 {
     Volatile.Read(ref UnicastSndeSettingsChanged)?.Invoke(this, e);
 }