Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
MINFO.cs
1using System;
2using System.Collections.Generic;
3using System.IO;
7
9{
13 public class MINFO : ResourceRecord
14 {
15 private string rMailBx;
16 private string eMailBx;
17
21 public MINFO()
22 : base()
23 {
24 this.rMailBx = string.Empty;
25 this.eMailBx = string.Empty;
26 }
27
36 public MINFO(string Name, TYPE Type, CLASS Class, uint Ttl, Stream Data)
37 : base(Name, Type, Class, Ttl)
38 {
39 this.rMailBx = DnsClient.ReadName(Data);
40 this.eMailBx = DnsClient.ReadName(Data);
41 }
42
47 [DefaultValueStringEmpty]
48 public string RMailBx
49 {
50 get => this.rMailBx;
51 set => this.rMailBx = value;
52 }
53
60 [DefaultValueStringEmpty]
61 public string EMailBx
62 {
63 get => this.eMailBx;
64 set => this.eMailBx = value;
65 }
66
68 public override string ToString()
69 {
70 return base.ToString() + "\t" + this.rMailBx + "\t" + this.eMailBx;
71 }
72 }
73}
Abstract base class for DNS clients.
Definition: DnsClient.cs:21
Mail information about a host. (Experimental)
Definition: MINFO.cs:14
string RMailBx
Specifies a mailbox which is responsible for the mailing list or mailbox.
Definition: MINFO.cs:49
MINFO()
Mail information about a host. (Experimental)
Definition: MINFO.cs:21
string EMailBx
Specifies a mailbox which is to receive error messages related to the mailing list or mailbox specifi...
Definition: MINFO.cs:62
MINFO(string Name, TYPE Type, CLASS Class, uint Ttl, Stream Data)
Mail information about a host. (Experimental)
Definition: MINFO.cs:36
Abstract base class for a resource record.
CLASS
TYPE fields are used in resource records.
Definition: CLASS.cs:11
TYPE
TYPE fields are used in resource records.
Definition: TYPE.cs:11