Click or drag to resize
TempFileManager Properties

The TempFileManager type exposes the following members.

Properties
  NameDescription
Public propertyCancelDelete
If true then this managed file is not deleted when this instance is disposed.
Public propertyDeleted
If true then this managed file was sucessfully deleted.
Public propertyDeleteDirectoryIfEmpty
If true a check will be made after the file has been deleted, and if no other files exist in the same directory that directory will also be deleted.
Public propertyFilePath
Full path to the file to be deleted.
Public propertyFileProcess
Can be set to a running process' Process instance so that the managed temp file is deleted when the process exits.
Public propertyLocked
Set to create (if it does not exist) and then to lock the temp file. The locked FileStream is available from LockedFileStream.
Public propertyLockedFileStream
Returns the locked FileStream instace if the temp file was previously locked by setting Locked.
Public propertyReadOnly
If set to true the managed temp file's readonly file system flag is set.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments