public DiskInfoModel() { DiskInfo = new ObservableCollection <string>(); DiskInformation info = new DiskInformation(); List <Tuple <string, string> > res = info.GetInformation(); foreach (Tuple <string, string> tuple in res) { DiskInfo.Add(tuple.Item1 + ": " + tuple.Item2); } }
public void GetInformationTest() { DiskInformation info = new DiskInformation(); info.GetInformation(); }