Asposecpplib
System::Security::SecureStringMarshal Class Reference

Collection of methods for allocating and copying unmanaged memory blocks. More...

Static Public Member Functions

static IntPtr SecureStringToGlobalAllocAnsi (const SharedPtr< Security::SecureString > &s)
 Copies contents of specified secure string into unmanaged memory, converting into ANSI format. More...
 
static IntPtr SecureStringToGlobalAllocUnicode (const SharedPtr< Security::SecureString > &s)
 Copies contents of specified secure string into unmanaged memory. More...
 

Detailed Description

Collection of methods for allocating and copying unmanaged memory blocks.

Member Function Documentation

◆ SecureStringToGlobalAllocAnsi()

static IntPtr System::Security::SecureStringMarshal::SecureStringToGlobalAllocAnsi ( const SharedPtr< Security::SecureString > &  s)
inlinestatic

Copies contents of specified secure string into unmanaged memory, converting into ANSI format.

Parameters
sSecure string.
Returns
The address in unmanaged memory.

◆ SecureStringToGlobalAllocUnicode()

static IntPtr System::Security::SecureStringMarshal::SecureStringToGlobalAllocUnicode ( const SharedPtr< Security::SecureString > &  s)
inlinestatic

Copies contents of specified secure string into unmanaged memory.

Parameters
sSecure string.
Returns
The address in unmanaged memory.