Avahi.EntryGroup.AddRecord C# (CSharp) Method

AddRecord() public method

public AddRecord ( int iface, Protocol proto, PublishFlags flags, string name, RecordClass clazz, RecordType type, uint ttl, byte rdata, int length ) : void
iface int
proto Protocol
flags PublishFlags
name string
clazz RecordClass
type RecordType
ttl uint
rdata byte
length int
return void
        public void AddRecord(int iface, Protocol proto, PublishFlags flags, string name,
                               RecordClass clazz, RecordType type, uint ttl, byte[] rdata, int length)
        {
            lock (client) {
                int ret = avahi_entry_group_add_record (handle, iface, proto, flags,
                                                        Utility.StringToBytes (name),
                                                        clazz, type, ttl, rdata, length);

                if (ret < 0) {
                    client.ThrowError ();
                }
            }
        }

Same methods

EntryGroup::AddRecord ( string name, RecordClass clazz, RecordType type, uint ttl, byte rdata, int length ) : void