using System;
namespace System.Security.AccessControl
{
/// Represents the access control and audit security for a file. This class cannot be inherited.
// Token: 0x020004C1 RID: 1217
public sealed class FileSecurity : FileSystemSecurity
{
/// Initializes a new instance of the class.
/// The current operating system is not Microsoft Windows 2000 or later.
// Token: 0x06002D4A RID: 11594 RVA: 0x000938E8 File Offset: 0x00091AE8
public FileSecurity()
: base(false)
{
throw new PlatformNotSupportedException();
}
/// Initializes a new instance of the class from a specified file using the specified values of the enumeration.
/// The location of a file to create a object from.
/// One of the values that specifies the type of access control list (ACL) information to retrieve.
/// The parameter is a zero-length string, contains only white space, or contains one or more invalid characters as defined by .
/// The specified path is invalid, (for example, it is on an unmapped drive).
/// The file specified in the parameter was not found.
/// An I/O error occurred while opening the file.
///
/// is in an invalid format.
/// The parameter is null.
/// The current operating system is not Microsoft Windows 2000 or later.
/// The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters.
/// The current system account does not have administrative privileges.
/// The file could not be found.
/// The parameter specified a file that is read-only.-or- This operation is not supported on the current platform.-or- The parameter specified a directory.-or- The caller does not have the required permission.
// Token: 0x06002D4B RID: 11595 RVA: 0x000938F8 File Offset: 0x00091AF8
public FileSecurity(string fileName, AccessControlSections includeSections)
: base(false, fileName, includeSections)
{
throw new PlatformNotSupportedException();
}
}
}