internal override int WriteData(ref DnsParser.DnsFormatContext context) { int original = context.BytesWritten; context.WriteDomainName(TargetDomainName); return(context.BytesWritten - original); }
internal override int WriteData(ref DnsParser.DnsFormatContext context) { int original = context.BytesWritten; context.WriteInt16(checked ((short)PreferenceOrder)); context.WriteDomainName(MailServerDomainName); return(context.BytesWritten - original); }
internal override int WriteData(ref DnsParser.DnsFormatContext context) { int original = context.BytesWritten; context.WriteDomainName(ZoneName); context.WriteDomainName(MailBoxName); context.WriteUInt32(VersionNumber); context.WriteInt32(RefreshInterval); context.WriteInt32(RetryInterval); context.WriteInt32(Expires); context.WriteUInt32(MinimumTTL); return(context.BytesWritten - original); }
internal abstract int WriteData(ref DnsParser.DnsFormatContext context);