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