public bool Parse(DeviceDiscoveryReportItem report) { if (report is ChromecastDeviceDiscoveryReportItem == false) return false; var chromeCastReport = report as ChromecastDeviceDiscoveryReportItem; this.EndPoint = chromeCastReport.EndPoint; this.Interface = chromeCastReport.Interface; this.Name = chromeCastReport.Name; this.BaseUrl = chromeCastReport.BaseUri.ToString(); this.Type = chromeCastReport.DeviceType; this.Manufacturer = chromeCastReport.Manufacturer; this.Model = chromeCastReport.Model; return true; }
public DeviceDiscoveryEventArgs(DeviceDiscoveryReportItem report) { this.Report = report; }
public DeviceAggregate(DeviceDiscoveryReportItem report) { this.Report = report; }