## Marshal::SecureStringToGlobalAllocAnsi method


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

```cpp
static IntPtr System::Runtime::InteropServices::Marshal::SecureStringToGlobalAllocAnsi(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](../../../system.security/securestring/)
* Class [Marshal](../)
* Namespace [System::Runtime::InteropServices](../../)
* Library [Aspose.TeX for C++](../../../)
