Class SecretQa
- Namespace
- AetherUtils.Core.Security
- Assembly
- AetherUtils.Core.dll
Represents a secret question and answer pair.
public sealed class SecretQa
- Inheritance
-
SecretQa
- Inherited Members
- Extension Methods
Remarks
Once instantiated, the question cannot be changed. However,
the answer can be changed using ChangeAnswer(string).
Constructors
SecretQa(string, string)
public SecretQa(string question, string answer)
Parameters
Properties
Answer
The answer component.
public string Answer { get; }
Property Value
Question
The question component.
public string Question { get; }
Property Value
Methods
ChangeAnswer(string)
Set a new answer for the secret question.
[UsedImplicitly]
public void ChangeAnswer(string newAnswer)