C# Class NanoByte.Common.Storage.TemporaryFile

Disposable class to create a temporary file and delete it again when disposed.
Inheritance: IDisposable
Afficher le fichier Open project: nano-byte/common Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Dispose ( ) : void

Deletes the temporary file.

TemporaryFile ( [ prefix ) : System

Creates a uniquely named, empty temporary file on disk.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() public méthode

Deletes the temporary file.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

TemporaryFile() public méthode

Creates a uniquely named, empty temporary file on disk.
A problem occurred while creating a file in . Creating a file in is not permitted.
public TemporaryFile ( [ prefix ) : System
prefix [ A short string the directory name should start with.
Résultat System