Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
PermanentAddress.cs
2{
7 {
12 : base()
13 {
14 }
15
22 public PermanentAddress(byte[] Value, string StringValue, string[] AddressFields)
23 : base(Value, StringValue)
24 {
25 this.AddressFields = AddressFields;
26 }
27
31 public override ushort Tag => 0x5f42;
32
36 public string[]? AddressFields { get; }
37
44 public override StringObject Create(byte[] Value, string StringValue)
45 {
46 string[] Fields = StringValue.Split('<', System.StringSplitOptions.RemoveEmptyEntries);
47 return new PermanentAddress(Value, StringValue, Fields);
48 }
49 }
50}
PermanentAddress(byte[] Value, string StringValue, string[] AddressFields)
Permanent Address
string?[] AddressFields
Fields identifying the address.
override StringObject Create(byte[] Value, string StringValue)
Creates an instance of the string-valued data object.
Abstract base class for string-valued objects.
Definition: StringObject.cs:10