Table of Contents

Class WorkingDirectory

Namespace
NanoByte.Common.Storage
Assembly
NanoByte.Common.dll

Changes the current working working directory until the object is disposed.

[MustDisposeResource]
public sealed class WorkingDirectory : IDisposable
Inheritance
object
WorkingDirectory
Implements
Extension Methods

Constructors

WorkingDirectory(string)

Changes the current working directory to path.

public WorkingDirectory(string path)

Parameters

path string

Methods

Dispose()

Restores the previous working directory.

public void Dispose()