Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft