public static IsDicomFile ( string file, bool useIsoStore = false ) : bool | ||
file | string | |
useIsoStore | bool | |
return | bool |
private void ScanFile(string file) { try { if (!DicomFileFormat.IsDicomFile(file)) { return; } DicomFileFormat ff = new DicomFileFormat(); ff.Load(file, _stopTag, DicomReadOptions.Default); if (FileFound != null) { FileFound(this, ff.Dataset, file); } } catch { // ignore exceptions? } }