private async void UpdateNetworkInfo() { this.DeviceName.Text = DeviceInfoPresenter.GetDeviceName(); this.IPAddress1.Text = NetworkPresenter.GetCurrentIpv4Address(); this.NetworkName1.Text = NetworkPresenter.GetCurrentNetworkName(); this.NetworkInfo.ItemsSource = await NetworkPresenter.GetNetworkInformation(); }
private void UpdateNetworkInfo() { this.DeviceName.Text = DeviceInfoPresenter.GetDeviceName(); this.IPAddress1.Text = NetworkPresenter.GetCurrentIpv4Address(); }
private void UpdateNetworkInfo() { this.DeviceName.Text = DeviceInfoPresenter.GetDeviceName(); this.IPAddress1.Text = NetworkPresenter.GetCurrentIpv4Address(); this.NetworkName1.Text = NetworkPresenter.GetCurrentNetworkName() ?? "Not connected"; }