Gets or sets a global default location of the temporary files used by DicomDataSet and DicomNet objects.
public static string DefaultDicomTempPath { get; set; }
public:
static property String^ DefaultDicomTempPath
{
String^ get()
void set(String^ value)
}
A global default location of the temporary files used by DicomDataSet and DicomNet objects.
The default location for DicomDataSet and DicomNet temporary files is chosen by Windows.
This behavior is modified by setting DefaultDicomTempPath:
Setting DefaultDicomTempPath to a non-empty path uses this path for DICOM temp files instead of the Windows temp file location.
Setting DefaultDicomTempPath to an empty string causes Windows to choose the DICOM temp file location.
Note that this behavior can be overridden for individual objects by specifying a temporary file location as the first argument when constructing a DicomDataSet or DicomNet object:
Passing an existing path for the first argument causes the DICOM temporary files to be created in this location.
Passing an empty string for the first argument causes DefaultDicomTempPath to be used for the DICOM temp file location; if DefaultDicomTempPath is the empty string, Windows chooses the DICOM temp file location.