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

◆ SecureStringToCoTaskMemUnicode()

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

Definition at line 1266 of file Marshal.cs.

1267 {
1268 if (s == null)
1269 {
1270 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
1271 }
1272 return s.MarshalToString(globalAlloc: false, unicode: true);
1273 }

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

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