MemoryProtectionScope Enumeration
.NET Framework 4.5
Specifies the scope of memory protection to be applied by the Protect method.
Namespace: System.Security.Cryptography
Assembly: System.Security (in System.Security.dll)
| Member name | Description | |
|---|---|---|
| SameProcess | Only code running in the same process as the code that called the Protect method can unprotect memory. | |
| CrossProcess | All code in any process can unprotect memory that was protected using the Protect method. | |
| SameLogon | Only code running in the same user context as the code that called the Protect method can unprotect memory. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.