MemoryMappedFileRights Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies access rights to a memory-mapped file that is not associated with a file on disk.
This enumeration supports a bitwise combination of its member values.
public enum class MemoryMappedFileRights
[System.Flags]
public enum MemoryMappedFileRights
[<System.Flags>]
type MemoryMappedFileRights =
Public Enum MemoryMappedFileRights
- Inheritance
- Attributes
Fields
AccessSystemSecurity | 16777216 | The right to get or set permissions on a file. |
ChangePermissions | 262144 | The right to change the security and audit rules associated with a file. |
CopyOnWrite | 1 | The right to read and write to a file with the restriction that write operations will not be seen by other processes. |
Delete | 65536 | The right to delete a file. |
Execute | 8 | The right to run an application file. |
FullControl | 983055 | The right to exert full control over a file, and to modify access control and audit rules. This value represents the right to do anything with a file and is the combination of all rights in this enumeration. |
Read | 4 | The right to open and copy a file as read-only. |
ReadExecute | 12 | The right to open and copy a folder or file as read-only, and to run application files. This right includes the Read right and the Execute right. |
ReadPermissions | 131072 | The right to open and copy access and audit rules from a file. This does not include the right to read data, file system attributes, or extended file system attributes. |
ReadWrite | 6 | The right to open and copy a file, and the right to add data to a file or remove data from a file. |
ReadWriteExecute | 14 | The right to open and copy a file, the right to add data to a file or remove data from a file, and the right to run an application file. |
TakeOwnership | 524288 | The right to change the owner of a file. |
Write | 2 | The right to add data to a file or remove data from a file. |
Remarks
You can specify access rights when you use the MemoryMappedFile.OpenExisting method to open an existing memory-mapped file.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기