1 instantiation of SafeLocalAllocHandle
System.Core (1)
System\Security\Cryptography\CapiNative.cs (1)
1014get { return new SafeLocalAllocHandle(IntPtr.Zero); }
20 references to SafeLocalAllocHandle
System.Core (20)
System\Security\Cryptography\CapiNative.cs (18)
453[In] SafeLocalAllocHandle pvKey, 469[In, Out] SafeLocalAllocHandle pvStructInfo, 484[In, Out] SafeLocalAllocHandle pvStructInfo, 492SafeLocalAllocHandle LocalAlloc( 806internal static SafeLocalAllocHandle LocalAlloc(uint uFlags, IntPtr sizetdwBytes) { 807SafeLocalAllocHandle safeLocalAllocHandle = UnsafeNativeMethods.LocalAlloc(uFlags, sizetdwBytes); 827out SafeLocalAllocHandle decodedValue, 831decodedValue = SafeLocalAllocHandle.InvalidHandle; 836SafeLocalAllocHandle ptr = SafeLocalAllocHandle.InvalidHandle; 875out SafeLocalAllocHandle decodedValue, 879decodedValue = SafeLocalAllocHandle.InvalidHandle; 884SafeLocalAllocHandle pbDecoded = SafeLocalAllocHandle.InvalidHandle; 949[In] SafeLocalAllocHandle pvKey, 1012internal static SafeLocalAllocHandle InvalidHandle { 1024internal static SafeLocalAllocHandle StringToAnsiPtr(string s) { 1027SafeLocalAllocHandle pb = CapiNative.LocalAlloc(CapiNative.LMEM_FIXED, new IntPtr(arr.Length));
System\Security\Cryptography\X509Certificates\RSACertificateExtensions.cs (2)
36SafeLocalAllocHandle cngBlobHandle; 178using (SafeLocalAllocHandle oidHandle = X509Utils.StringToAnsiPtr(oid.Value))