DirectoryInfo.Create Method (DirectorySecurity, Boolean)
Click or drag to resize
DirectoryInfoCreate Method (DirectorySecurity, Boolean)
[AlphaFS] Creates a directory using a DirectorySecurity object.

Namespace: Alphaleonis.Win32.Filesystem
Assembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public void Create(
	DirectorySecurity directorySecurity,
	bool compress
)

Parameters

directorySecurity
Type: System.Security.AccessControlDirectorySecurity
The access control to apply to the directory.
compress
Type: SystemBoolean
When compresses the directory.
Remarks
If the directory already exists, this method does nothing.
See Also