3 references to MemoryProtection
Microsoft.AspNetCore.DataProtection (3)
Secret.cs (3)
156
MemoryProtection
.CryptProtectMemory(encryptedMemoryHandle, byteCount: numTotalBytesToAllocate);
215
MemoryProtection
.CryptUnprotectMemory(pbBuffer, _plaintextLength);
223
MemoryProtection
.CryptUnprotectMemory(duplicateHandle, checked((uint)duplicateHandle.Length));