Exemplo n.º 1
0
   static extern IntPtr OpenFileMapping(FileRights dwDesiredAccess,
 bool bInheritHandle, string lpName);
Exemplo n.º 2
0
 static extern IntPtr MapViewOfFile(IntPtr hFileMappingObject,
                                    FileRights dwDesiredAccess,
                                    uint dwFileOffsetHigh,
                                    uint dwFileOffsetLow,
                                    uint dwNumberOfBytesToMap);
Exemplo n.º 3
0
   static extern IntPtr MapViewOfFile(IntPtr hFileMappingObject,
 FileRights dwDesiredAccess, uint dwFileOffsetHigh,
 uint dwFileOffsetLow, uint dwNumberOfBytesToMap);
Exemplo n.º 4
0
 public FileAccessRule(string identity, FileRights fileRights, AccessControlType type)
     : this(new NTAccount(identity), fileRights, type)
 {
 }
Exemplo n.º 5
0
 static extern IntPtr OpenFileMapping(FileRights dwDesiredAccess,
                                      bool bInheritHandle,
                                      string lpName);
Exemplo n.º 6
0
 public FileAccessRule(string identity, FileRights fileRights, AccessControlType type)
     : this(new NTAccount(identity), fileRights, type)
 {
 }
Exemplo n.º 7
0
 public FileAccessRule(IdentityReference identity, FileRights fileRights, AccessControlType type)
     : base(identity, (int)fileRights, false, InheritanceFlags.None, PropagationFlags.None, type)
 {
 }
Exemplo n.º 8
0
 public FileAccessRule(IdentityReference identity, FileRights fileRights, AccessControlType type)
     : base(identity, (int)fileRights, false, InheritanceFlags.None, PropagationFlags.None, type)
 {
 }
Exemplo n.º 9
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileAuditRule"/> class.
 /// </summary>
 /// <param name="identity">The identity.</param>
 /// <param name="fileRights">The file rights.</param>
 /// <param name="type">The type.</param>
 public FileAuditRule(string identity, FileRights fileRights, AuditFlags type)
     : this(new NTAccount(identity), fileRights, type)
 {
 }
Exemplo n.º 10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileAuditRule"/> class.
 /// </summary>
 /// <param name="identity">The identity.</param>
 /// <param name="fileRights">The file rights.</param>
 /// <param name="type">The type.</param>
 public FileAuditRule(IdentityReference identity, FileRights fileRights, AuditFlags type)
     : base(identity, (int)fileRights, false, InheritanceFlags.None, PropagationFlags.None, type)
 {
 }
Exemplo n.º 11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileAuditRule"/> class.
 /// </summary>
 /// <param name="identity">The identity.</param>
 /// <param name="fileRights">The file rights.</param>
 /// <param name="type">The type.</param>
 public FileAuditRule(string identity, FileRights fileRights, AuditFlags type)
     : this(new NTAccount(identity), fileRights, type)
 {
 }
Exemplo n.º 12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="FileAuditRule"/> class.
 /// </summary>
 /// <param name="identity">The identity.</param>
 /// <param name="fileRights">The file rights.</param>
 /// <param name="type">The type.</param>
 public FileAuditRule(IdentityReference identity, FileRights fileRights, AuditFlags type)
     : base(identity, (int)fileRights, false, InheritanceFlags.None, PropagationFlags.None, type)
 {
 }