private void SetStats() { _speedMonitor.GetNetworkUsage(_seleectedInterface); NetworkInterfaces = NetworkInterfaces ?? _speedMonitor.GetAvailableNetworkInterfaces(); SelectedInterface = SelectedInterface ?? NetworkInterfaces.First().Name; DownloadSpeed = _speedMonitor.DownloadSpeed; UploadSpeed = _speedMonitor.UploadSpeed; NetworkSpeed = _speedMonitor.NetworkSpeed; DownloadedData = _speedMonitor.DownloadedData; UploadedData = _speedMonitor.UploadedData; IsConnected = _speedMonitor.IsConnected; }