Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ProofOfCitizenship.cs
1using System.Diagnostics.CodeAnalysis;
2
4{
8 public class ProofOfCitizenship : DataObject
9 {
14 : base([])
15 {
16 }
17
22 public ProofOfCitizenship(byte[] Value)
23 : base(Value)
24 {
25 }
26
30 public override ushort Tag => 0x5f16;
31
35 public byte[] JPegImage => this.Value;
36
44 public override bool TryParse(byte[] Value, TravelDocumentsClient Client,
45 [NotNullWhen(true)] out IDataObject? Parsed)
46 {
47 Parsed = new ProofOfCitizenship(Value);
48 return true;
49 }
50 }
51}
override bool TryParse(byte[] Value, TravelDocumentsClient Client, [NotNullWhen(true)] out IDataObject? Parsed)
Tries to parse a binary representation of the data object.