## SecureStringMarshal::SecureStringToGlobalAllocUnicode method


Copies contents of specified secure string into unmanaged memory.

```cpp
static IntPtr System::Security::SecureStringMarshal::SecureStringToGlobalAllocUnicode(const SharedPtr<Security::SecureString> &s)
```


| Parameter | Type | Description |
| --- | --- | --- |
| s | const SharedPtr\<Security::SecureString\>\& | Secure string. |

### ReturnValue

The address in unmanaged memory.

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [SecureString](../../securestring/)
* Class [SecureStringMarshal](../)
* Namespace [System::Security](../../)
* Library [Aspose.PDF for C++](../../../)
