Avahi.EntryGroup.AddServiceSubtype C# (CSharp) Метод

AddServiceSubtype() публичный Метод

public AddServiceSubtype ( int iface, Protocol proto, PublishFlags flags, string name, string type, string domain, string subtype ) : void
iface int
proto Protocol
flags PublishFlags
name string
type string
domain string
subtype string
Результат void
        public void AddServiceSubtype(int iface, Protocol proto, PublishFlags flags, string name,
                                       string type, string domain, string subtype)
        {
            lock (client) {
                int ret = avahi_entry_group_add_service_subtype (handle, iface, proto, flags,
                                                                 Utility.StringToBytes (name),
                                                                 Utility.StringToBytes (type),
                                                                 Utility.StringToBytes (domain),
                                                                 Utility.StringToBytes (subtype));

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

Same methods

EntryGroup::AddServiceSubtype ( string name, string type, string domain, string subtype ) : void