15 references to SafeBSTRHandle
mscorlib (15)
microsoft\win32\win32native.cs (3)
890internal static extern uint SysStringLen(SafeBSTRHandle bstr); 2036[In,Out] SafeBSTRHandle pDataIn, 2044[In,Out] SafeBSTRHandle pDataIn,
system\security\securestring.cs (12)
19private SafeBSTRHandle m_buffer; 42SafeBSTRHandle.Allocate(null , (int)Win32Native.CRYPTPROTECTMEMORY_BLOCK_SIZE), 55SafeBSTRHandle.Copy(str.m_buffer, this.m_buffer); 326m_buffer = SafeBSTRHandle.Allocate(null, alignedSize); 350SafeBSTRHandle newBuffer = SafeBSTRHandle.Allocate(null, GetAlignedSize(capacity)); 356SafeBSTRHandle.Copy(m_buffer, newBuffer); 684internal static SafeBSTRHandle Allocate(String src, uint len) 686SafeBSTRHandle bstr = SysAllocStringLen(src, len); 694private static extern SafeBSTRHandle SysAllocStringLen(String src, uint len); // BSTR 727internal unsafe static void Copy(SafeBSTRHandle source, SafeBSTRHandle target) {