←Select platform

DefaultDicomTempPath Property

Summary

Gets or sets a global default location of the temporary files used by DicomDataSet and DicomNet objects.

Syntax
C#
VB
C++
public static string DefaultDicomTempPath { get; set; } 
Public Shared Property DefaultDicomTempPath() As String 
   Get 
   Set 
public:  
   static property String^ DefaultDicomTempPath 
   { 
      String^ get() 
      void set(String^ value) 
   } 

Property Value

A global default location of the temporary files used by DicomDataSet and DicomNet objects.

Remarks

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.

Requirements

Target Platforms

Help Version 22.0.2021.9.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly