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

◆ SecureStringToBSTR()

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

Definition at line 1248 of file Marshal.cs.

1249 {
1250 if (s == null)
1251 {
1252 ThrowHelper.ThrowArgumentNullException(ExceptionArgument.s);
1253 }
1254 return s.MarshalToBSTR();
1255 }

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