// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
+using System.Runtime.InteropServices;
-namespace System.Security.AccessControl {
- public sealed class FileSecurity : FileSystemSecurity {
+namespace System.Security.AccessControl
+{
+ public sealed class FileSecurity : FileSystemSecurity
+{
public FileSecurity ()
+ : base (false)
{
- throw new PlatformNotSupportedException ();
}
public FileSecurity (string fileName,
AccessControlSections includeSections)
+ : base (false, fileName, includeSections)
+ {
+ }
+
+ internal FileSecurity (SafeHandle handle,
+ AccessControlSections includeSections)
+ : base (false, handle, includeSections)
{
- throw new PlatformNotSupportedException ();
}
}
}
-#endif