ITempFiles Interface
Provides access to temporary files and directories.
Namespace: SMath.ManagerAssembly: SMath.Manager (in SMath.Manager.dll) Version: 1.74.9654.0
public interface ITempFiles
Public Interface ITempFiles
public interface class ITempFiles
type ITempFiles = interface end
| NewTempDirectory |
Creates a new empty temporary directory inside temp subdirectory of SettingsDirectory.
The temporary directory will be deleted when the object which owns ITempFiles (for example, ISessionProfile) is disposed.
The directory may also be deleted earlier by the caller code.
Directories which are created by NewTempDirectory(Guid, String) are not remembered by ITempFiles or its owner object,
i.e., a new directory is created on each call and the caller code is responsible for storing the returned directory path.
|
| NewTempFilePath |
Creates a new unique name for a temporary file inside temp subdirectory of SettingsDirectory.
If the temporary file is created by the caller code then it will be deleted when the object which owns ITempFiles
(for example, ISessionProfile) is disposed. The file may also be deleted earlier by the caller code.
File names which are created by NewTempFilePath(Guid, String, String) are not remembered by ITempFiles or its owner object,
i.e., a new file name is generated on each call and the caller code is responsible for storing the returned file path.
|