GetCurrentNetworkName() 공개 정적인 메소드

public static GetCurrentNetworkName ( ) : string
리턴 string
예제 #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();
 }
예제 #2
0
 private void UpdateNetworkInfo()
 {
     this.DeviceName.Text   = DeviceInfoPresenter.GetDeviceName();
     this.IPAddress1.Text   = NetworkPresenter.GetCurrentIpv4Address();
     this.NetworkName1.Text = NetworkPresenter.GetCurrentNetworkName() ?? "Not connected";
 }