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

◆ SecurePassword

SecureString System.Net.NetworkCredential.SecurePassword
getsetinherited

Definition at line 48 of file NetworkCredential.cs.

49 {
50 get
51 {
52 if (_password is string str)
53 {
55 }
56 if (!(_password is SecureString secureString))
57 {
58 return new SecureString();
59 }
60 return secureString.Copy();
61 }
62 [param: AllowNull]
63 set
64 {
65 SecureString secureString = _password as SecureString;
66 _password = value?.Copy();
67 secureString?.Dispose();
68 }
69 }
unsafe SecureString MarshalToSecureString(string str)

Referenced by System.Net.NetworkCredential.NetworkCredential().