public void RefreshTxtRecord()
{
// Should probably make this async?
ServiceRef sd_ref;
ServiceError error = Native.DNSServiceQueryRecord(out sd_ref, ServiceFlags.None, 0,
fullname, ServiceType.TXT, ServiceClass.IN, query_record_reply_handler, IntPtr.Zero);
if(error != ServiceError.NoError) {
throw new ServiceErrorException(error);
}
sd_ref.Process();
}