mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
38 lines
655 B
C#
38 lines
655 B
C#
using System;
|
|
|
|
#region Rfc info
|
|
/*
|
|
3.3.14. TXT RDATA format
|
|
|
|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
|
/ TXT-DATA /
|
|
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
|
|
|
|
where:
|
|
|
|
TXT-DATA One or more <character-string>s.
|
|
|
|
TXT RRs are used to hold descriptive text. The semantics of the text
|
|
depends on the domain where it is found.
|
|
*
|
|
*/
|
|
#endregion
|
|
|
|
namespace Heijden.DNS
|
|
{
|
|
public class RecordTXT : Record
|
|
{
|
|
public string TXT;
|
|
|
|
public RecordTXT(RecordReader rr)
|
|
{
|
|
TXT = rr.ReadString();
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return string.Format("\"{0}\"",TXT);
|
|
}
|
|
|
|
}
|
|
}
|