DirectorySecurity Constructor ()

 

Initializes a new instance of the DirectorySecurity class.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

public DirectorySecurity()

Exception Condition
PlatformNotSupportedException

The current operating system is not Microsoft Windows 2000 or later.

Use this constructor when you want to create an empty DirectorySecurity object that is not based on an existing directory. You can then populate the object with access control information and apply it to a directory.

.NET Framework
Available since 2.0
Return to top
Show: