/// <summary> /// Configuration of an event, that is triggert my network chaneges to /// update the network status and the iPv4 address /// </summary> public void setNetworkChangeEvent() { DynamicVals.GetIPaddrs(); RaisePropertyChanged(nameof(NetworkIPs)); NetworkChange.NetworkAddressChanged += NetworkChange_NetworkAddressChanged; }
/// <summary> /// Network Chnage event to upate the iPv4 address inside the backround Image /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void NetworkChange_NetworkAddressChanged(object sender, EventArgs e) { DynamicVals.GetIPaddrs(); RaisePropertyChanged(nameof(NetworkIPs)); }