Interface ITestsPathForWritePermissions
- Namespace
- CSF.Screenplay.Reporting
- Assembly
- CSF.Screenplay.dll
An object which may test a file system path for writability.
public interface ITestsPathForWritePermissions
Methods
HasWritePermission(string)
Gets a value indicating whether or not the current process should be able to write a file at the specified path.
bool HasWritePermission(string path)
Parameters
path
stringAn absolute or relative file path.
Returns
Remarks
The path may be relative or absolute; if relative then it is treated as relative to the current working directory.