System::Runtime::InteropServices::Marshal::SecureStringToGlobalAllocAnsi method

Marshal::SecureStringToGlobalAllocAnsi method

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

static IntPtr System::Runtime::InteropServices::Marshal::SecureStringToGlobalAllocAnsi(const SharedPtr<Security::SecureString> &s)
ParameterTypeDescription
sconst SharedPtr<Security::SecureString>&Secure string.

ReturnValue

The address in unmanaged memory.

See Also