Skip to content

A TempDirectoryBuilder that provides unique temporary directories and automatically cleans them up for you.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
license_apache.txt
MIT
license_mit.txt
Notifications You must be signed in to change notification settings

messerli-informatik-ag/temp-directory

Repository files navigation

TempDirectory

Build NuGet

This library provides a TempSubdirectory class that provides a unique subdirectory in the user's temp directory that is automatically cleaned up when the class is disposed.

Usage

using var directory = TempSubdirectory.Create("prefix");
File.WriteAllText(Path.Combine(directory.FullName, "example.txt"), contents: "...");

About

A TempDirectoryBuilder that provides unique temporary directories and automatically cleans them up for you.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
license_apache.txt
MIT
license_mit.txt

Stars

Watchers

Forks

Packages

No packages published

Languages