openDICOM.NET API Reference (openDICOM# Class Library)

XmlFile.IsXmlFile Method 

Determines whether a file with specified file name is an ACR-NEMA- or DICOM-XML file.

public static bool IsXmlFile(
   string fileName
);

See Also

XmlFile Class | openDicom.File Namespace