SecureStringMarshal

SecureStringMarshal class

Collection of methods for allocating and copying unmanaged memory blocks.

class SecureStringMarshal

Methods

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

See Also