System::Runtime::InteropServices::Marshal::SecureStringToGlobalAllocUnicode method

Marshal::SecureStringToGlobalAllocUnicode method

Copies contents of specified secure string into unmanaged memory.

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

ReturnValue

The address in unmanaged memory.

See Also