Avahi.EntryGroup.UpdateService C# (CSharp) Method

UpdateService() public method

public UpdateService ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain ) : void
iface int
proto Protocol
flags PublishFlags
name string
type string
domain string
return void
        public void UpdateService(int iface, Protocol proto, PublishFlags flags, string name, string type,
                                   string domain, params string[] txt)
        {
            IntPtr list = avahi_string_list_new (IntPtr.Zero);

            if (txt != null) {
                foreach (string item in txt) {
                    list = avahi_string_list_add (list, Utility.StringToBytes (item));
                }
            }

            UpdateService (iface, proto, flags, name, type, domain, list);
        }

Same methods

EntryGroup::UpdateService ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, IntPtr list ) : void
EntryGroup::UpdateService ( string name, string type, string domain ) : void