Avahi.EntryGroup.UpdateService C# (CSharp) 메소드

UpdateService() 공개 메소드

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
리턴 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