System.Security.SecureString.Decrypt C# (CSharp) Метод

Decrypt() приватный Метод

private Decrypt ( ) : void
Результат void
		private void Decrypt ()
		{
			if ((data != null) && (data.Length > 0)) {
				// It somehow causes nunit test breakage
				// DecryptInternal (data, scope);
			}
		}

Usage Example

Пример #1
0
 //todo: do not store decrypted in memory
 public void ReceiveKey(SecureString key) 
     => Password = key.Decrypt();