public void WriteXml(XmlWriter writer) { valueEncrypted = valueEncrypted ?? SecureStorage.Encrypt(value); writer.WriteString(valueEncrypted); }
public override string ToString() { value = value ?? SecureStorage.Decrypt(valueEncrypted); return(value); }