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

◆ MarshalToSecureString()

unsafe SecureString System.Net.NetworkCredential.MarshalToSecureString ( string str)
inlineprivateinherited

Definition at line 148 of file NetworkCredential.cs.

149 {
150 if (string.IsNullOrEmpty(str))
151 {
152 return new SecureString();
153 }
154 fixed (char* value = str)
155 {
156 return new SecureString(value, str.Length);
157 }
158 }

References System.str, and System.value.