void caspar_Disconnected(object sender, Svt.Network.NetworkEventArgs e) { CasparDevice casparDevice = (CasparDevice)sender; if (casparDevice != null && devices_.ContainsKey(casparDevice.Settings.Hostname)) { devices_[casparDevice.Settings.Hostname].HasValidConnection = false; UpdateValidConnections(); } }
void caspar_Connected(object sender, Svt.Network.NetworkEventArgs e) { CasparDevice casparDevice = (CasparDevice)sender; casparDevice.RefreshMediafiles(); }