Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Security.SecureString Class Referencesealed

Classes

class  UnmanagedBuffer
 

Public Member Functions

 SecureString ()
 
unsafe SecureString (char *value, int length)
 
void AppendChar (char c)
 
void Clear ()
 
SecureString Copy ()
 
void Dispose ()
 
void InsertAt (int index, char c)
 
bool IsReadOnly ()
 
void MakeReadOnly ()
 
void RemoveAt (int index)
 
void SetAt (int index, char c)
 

Package Functions

unsafe IntPtr MarshalToBSTR ()
 
unsafe IntPtr MarshalToString (bool globalAlloc, bool unicode)
 

Properties

int Length [get]
 

Private Member Functions

void Initialize (ReadOnlySpan< char > value)
 
 SecureString (SecureString str)
 
void EnsureCapacity (int capacity)
 
unsafe Span< char > AcquireSpan (ref SafeBuffer bufferToRelease)
 
void EnsureNotReadOnly ()
 
void EnsureNotDisposed ()
 
void ProtectMemory ()
 
void UnprotectMemory ()
 

Static Private Member Functions

static int GetAlignedByteSize (int length)
 

Private Attributes

readonly object _methodLock = new object()
 
UnmanagedBuffer _buffer
 
int _decryptedLength
 
bool _encrypted
 
bool _readOnly
 

Detailed Description

Definition at line 7 of file SecureString.cs.


The documentation for this class was generated from the following file: