Class WorkingDirectory
Changes the current working working directory until the object is disposed.
Namespace: NanoByte.Common.Storage
Assembly: NanoByte.Common.dll
Syntax
public sealed class WorkingDirectory : Object
Constructors
WorkingDirectory(String)
Changes the current working directory to path
.
Declaration
public WorkingDirectory(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path |
Methods
Dispose()
Restores the previous working directory.
Declaration
public void Dispose()