Available in LEADTOOLS Medical Imaging toolkits.
DICOM Directories: Setting/Getting Options
LDicomDir::SetOptions
LDicomDir::GetOptions