Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SecureStringToGlobalAllocAnsi()

static IntPtr System.Runtime.InteropServices.Marshal.SecureStringToGlobalAllocAnsi ( SecureString s)
inlinestatic

Definition at line 1275 of file Marshal.cs.

1276 {
1277 if (s == null)
1278 {
1279 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
1280 }
1281 return s.MarshalToString(globalAlloc: true, unicode: false);
1282 }

References System.s, and System.ThrowHelper.ThrowArgumentNullException().

Referenced by System.Security.SecureStringMarshal.SecureStringToGlobalAllocAnsi().