MemoryMappedFileSecurity Class

Definition

Represents the permissions that can be granted for file access and operations on memory-mapped files.

public class MemoryMappedFileSecurity : System.Security.AccessControl.ObjectSecurity<System.IO.MemoryMappedFiles.MemoryMappedFileRights>
Inheritance

Inherited Members

System.Object

System.Security.AccessControl.CommonObjectSecurity

System.Security.AccessControl.NativeObjectSecurity

System.Security.AccessControl.ObjectSecurity

System.Security.AccessControl.ObjectSecurity`1

Remarks

The MemoryMappedFileSecurity class specifies the access rights for a memory-mapped file and how access attempts are audited. This class represents access and audit rights as a set of rules.

The MemoryMappedFileSecurity class is an abstraction of the underlying Microsoft Windows file security system. In this system. It hides many of the details of DACLs and SACLs.

Use the MemoryMappedFileSecurity class to retrieve, add, or change the access rules that represent the DACL and SACL of a pipe.

To apply new or changed access or audit rules to a memory-mapped file, use the SetAccessControl method. To retrieve access or audit rules from an existing file, use the GetAccessControl method.

The following MemoryMappedFile methods take a MemoryMappedFileSecurity object as a parameter:

Constructors

MemoryMappedFileSecurity()

Initializes a new instance of the MemoryMappedFileSecurity class.