GetCurrentIpv4Address() public static méthode

public static GetCurrentIpv4Address ( ) : string
Résultat string
Exemple #1
0
 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();
 }
Exemple #2
0
 private void UpdateNetworkInfo()
 {
     this.DeviceName.Text = DeviceInfoPresenter.GetDeviceName();
     this.IPAddress1.Text = NetworkPresenter.GetCurrentIpv4Address();
 }
Exemple #3
0
 private void UpdateNetworkInfo()
 {
     this.DeviceName.Text   = DeviceInfoPresenter.GetDeviceName();
     this.IPAddress1.Text   = NetworkPresenter.GetCurrentIpv4Address();
     this.NetworkName1.Text = NetworkPresenter.GetCurrentNetworkName() ?? "Not connected";
 }