Click or drag to resize

DirectoryCreateDirectoryTransacted Method (KernelTransaction, String, DirectorySecurity, Boolean)

[AlphaFS] Creates all the directories in the specified path, applying the specified Windows security.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax
public static DirectoryInfo CreateDirectoryTransacted(
	KernelTransaction transaction,
	string path,
	DirectorySecurity directorySecurity,
	bool compress
)

Parameters

transaction
Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction.
path
Type: SystemString
The directory to create.
directorySecurity
Type: System.Security.AccessControlDirectorySecurity
The access control to apply to the directory.
compress
Type: SystemBoolean
When compresses the directory.

Return Value

Type: DirectoryInfo
An object that represents the directory at the specified path. This object is returned regardless of whether a directory at the specified path already exists.
Exceptions
See Also