| TempFileManager Properties |
The TempFileManager type exposes the following members.
| Name | Description | |
|---|---|---|
| CancelDelete |
If true then this managed file is not deleted when this instance is disposed.
| |
| Deleted |
If true then this managed file was sucessfully deleted.
| |
| DeleteDirectoryIfEmpty |
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.
| |
| FilePath |
Full path to the file to be deleted.
| |
| FileProcess |
Can be set to a running process' Process instance so that the managed temp file is
deleted when the process exits.
| |
| Locked |
Set to create (if it does not exist) and then to lock the temp file.
The locked FileStream is available from LockedFileStream.
| |
| LockedFileStream |
Returns the locked FileStream instace if the temp file was previously locked by setting
Locked.
| |
| ReadOnly |
If set to true the managed temp file's readonly file system flag is set.
|