internal delegate void AddressResolverCallback (IntPtr resolver, int iface, Protocol proto,
ResolverEvent revent, Protocol aproto, IntPtr address,
- IntPtr hostname, IntPtr userdata);
+ IntPtr hostname, LookupResultFlags flags, IntPtr userdata);
public delegate void HostAddressHandler (object o, string host, IPAddress address);
private int iface;
private Protocol proto;
private IPAddress address;
+ private LookupFlags flags;
private AddressResolverCallback cb;
private IPAddress currentAddress;
[DllImport ("avahi-client")]
private static extern IntPtr avahi_address_resolver_new (IntPtr client, int iface, Protocol proto,
- IntPtr address, AddressResolverCallback cb,
+ IntPtr address, LookupFlags flags,
+ AddressResolverCallback cb,
IntPtr userdata);
[DllImport ("avahi-client")]
get { return currentHost; }
}
- public AddressResolver (Client client, IPAddress address) : this (client, -1, Protocol.Unspecified, address)
+ public AddressResolver (Client client, IPAddress address) : this (client, -1, Protocol.Unspecified,
+ address, LookupFlags.None)
{
}
- public AddressResolver (Client client, int iface, Protocol proto, IPAddress address)
+ public AddressResolver (Client client, int iface, Protocol proto, IPAddress address, LookupFlags flags)
{
this.client = client;
this.iface = iface;
this.proto = proto;
this.address = address;
+ this.flags = flags;
cb = OnAddressResolverCallback;
}
IntPtr addrPtr = Utility.StringToPtr (address.ToString ());
lock (client) {
- handle = avahi_address_resolver_new (client.Handle, iface, proto, addrPtr,
+ handle = avahi_address_resolver_new (client.Handle, iface, proto, addrPtr, flags,
cb, IntPtr.Zero);
}
private void OnAddressResolverCallback (IntPtr resolver, int iface, Protocol proto,
ResolverEvent revent, Protocol aproto, IntPtr address,
- IntPtr hostname, IntPtr userdata)
+ IntPtr hostname, LookupResultFlags flags, IntPtr userdata)
{
if (revent == ResolverEvent.Found) {
currentAddress = Utility.PtrToAddress (address);
{
Console.WriteLine ("Entry group status: " + state);
+ /*
if (state == EntryGroupState.Established) {
DomainBrowser browser = new DomainBrowser (client);
browser.DomainAdded += OnDomainAdded;
}
+ */
+
+ BrowseServiceTypes ("dns-sd.org");
}
private static void OnDomainAdded (object o, DomainInfo info)
{
Console.WriteLine ("Got domain added: " + info.Domain);
- ServiceTypeBrowser stb = new ServiceTypeBrowser (client, info.Domain);
+ BrowseServiceTypes (info.Domain);
+ }
+
+ private static void BrowseServiceTypes (string domain)
+ {
+ ServiceTypeBrowser stb = new ServiceTypeBrowser (client, domain);
stb.ServiceTypeAdded += OnServiceTypeAdded;
}
Collision,
Disconnected = 100
}
+
+ [Flags]
+ public enum LookupFlags {
+ None,
+ UseWideArea,
+ UseMulticast,
+ NoTxt,
+ NoAddress
+ }
+
+ [Flags]
+ public enum LookupResultFlags {
+ None,
+ Cached,
+ WideArea,
+ Multicast
+ }
public class Client : IDisposable
{
[DllImport ("avahi-common")]
private static extern void avahi_simple_poll_quit (IntPtr spoll);
+ [DllImport ("avahi-client")]
+ private static extern uint avahi_client_get_local_service_cookie (IntPtr client);
+
+ [DllImport ("avahi-client")]
+ private static extern int avahi_client_is_service_local (IntPtr client, int iface, Protocol proto,
+ IntPtr name, IntPtr type, IntPtr domain);
+
+
[DllImport ("libc")]
private static extern int poll(IntPtr ufds, uint nfds, int timeout);
}
}
+ public uint LocalServiceCookie
+ {
+ get {
+ lock (this) {
+ return avahi_client_get_local_service_cookie (handle);
+ }
+ }
+ }
+
internal int LastError
{
get {
}
}
+ public bool IsServiceLocal (ServiceInfo service)
+ {
+ return IsServiceLocal (service.NetworkInterface, service.Protocol, service.Name,
+ service.ServiceType, service.Domain);
+ }
+
+ public bool IsServiceLocal (int iface, Protocol proto, string name, string type, string domain)
+ {
+ IntPtr namePtr = Utility.StringToPtr (name);
+ IntPtr typePtr = Utility.StringToPtr (type);
+ IntPtr domainPtr = Utility.StringToPtr (domain);
+
+ int result = avahi_client_is_service_local (handle, iface, proto, namePtr, typePtr, domainPtr);
+
+ Utility.Free (namePtr);
+ Utility.Free (typePtr);
+ Utility.Free (domainPtr);
+
+ return result == 1;
+ }
+
internal void CheckError ()
{
int error = LastError;
namespace Avahi
{
internal delegate void DomainBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent,
- IntPtr domain, IntPtr userdata);
+ IntPtr domain, LookupResultFlags flags, IntPtr userdata);
public enum DomainBrowserType {
Register,
public int NetworkInterface;
public Protocol Protocol;
public string Domain;
+ public LookupResultFlags Flags;
}
public delegate void DomainInfoHandler (object o, DomainInfo info);
private Protocol proto;
private string domain;
private DomainBrowserType btype;
+ private LookupFlags flags;
private DomainBrowserCallback cb;
private ArrayList addListeners = new ArrayList ();
[DllImport ("avahi-client")]
private static extern IntPtr avahi_domain_browser_new (IntPtr client, int iface, int proto,
- IntPtr domain, int btype, DomainBrowserCallback cb,
+ IntPtr domain, int btype, LookupFlags flags,
+ DomainBrowserCallback cb,
IntPtr userdata);
[DllImport ("avahi-client")]
}
public DomainBrowser (Client client) : this (client, -1, Protocol.Unspecified, client.DomainName,
- DomainBrowserType.Browse) {
+ DomainBrowserType.Browse, LookupFlags.None) {
}
- public DomainBrowser (Client client, int iface, Protocol proto, string domain, DomainBrowserType btype)
+ public DomainBrowser (Client client, int iface, Protocol proto, string domain,
+ DomainBrowserType btype, LookupFlags flags)
{
this.client = client;
this.iface = iface;
this.proto = proto;
this.domain = domain;
this.btype = btype;
+ this.flags = flags;
cb = OnDomainBrowserCallback;
}
lock (client) {
IntPtr domainPtr = Utility.StringToPtr (domain);
- handle = avahi_domain_browser_new (client.Handle, iface, (int) proto, domainPtr, (int) btype,
+ handle = avahi_domain_browser_new (client.Handle, iface, (int) proto, domainPtr, (int) btype, flags,
cb, IntPtr.Zero);
Utility.Free (domainPtr);
}
}
private void OnDomainBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent,
- IntPtr domain, IntPtr userdata)
+ IntPtr domain, LookupResultFlags flags, IntPtr userdata)
{
DomainInfo info;
info.NetworkInterface = iface;
info.Protocol = proto;
info.Domain = Utility.PtrToString (domain);
+ info.Flags = flags;
infos.Add (info);
internal delegate void HostNameResolverCallback (IntPtr resolver, int iface, Protocol proto,
ResolverEvent revent, IntPtr hostname, IntPtr address,
- IntPtr userdata);
+ LookupResultFlags flags, IntPtr userdata);
public class HostNameResolver : IDisposable
{
private Protocol proto;
private string hostname;
private Protocol aproto;
+ private LookupFlags flags;
private HostNameResolverCallback cb;
private IPAddress currentAddress;
[DllImport ("avahi-client")]
private static extern IntPtr avahi_host_name_resolver_new (IntPtr client, int iface, Protocol proto,
- IntPtr hostname, Protocol aproto,
+ IntPtr hostname, Protocol aproto, LookupFlags flags,
HostNameResolverCallback cb, IntPtr userdata);
[DllImport ("avahi-client")]
}
public HostNameResolver (Client client, string hostname) : this (client, -1, Protocol.Unspecified,
- hostname, Protocol.Unspecified)
+ hostname, Protocol.Unspecified,
+ LookupFlags.None)
{
}
public HostNameResolver (Client client, int iface, Protocol proto, string hostname,
- Protocol aproto)
+ Protocol aproto, LookupFlags flags)
{
this.client = client;
this.iface = iface;
this.proto = proto;
this.hostname = hostname;
this.aproto = aproto;
+ this.flags = flags;
cb = OnHostNameResolverCallback;
}
IntPtr hostPtr = Utility.StringToPtr (hostname);
lock (client) {
- handle = avahi_host_name_resolver_new (client.Handle, iface, proto, hostPtr, aproto,
+ handle = avahi_host_name_resolver_new (client.Handle, iface, proto, hostPtr, aproto, flags,
cb, IntPtr.Zero);
}
private void OnHostNameResolverCallback (IntPtr resolver, int iface, Protocol proto,
ResolverEvent revent, IntPtr hostname, IntPtr address,
- IntPtr userdata)
+ LookupResultFlags flags, IntPtr userdata)
{
if (revent == ResolverEvent.Found) {
currentAddress = Utility.PtrToAddress (address);
namespace Avahi
{
internal delegate void ServiceBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent,
- IntPtr name, IntPtr type, IntPtr domain, IntPtr userdata);
+ IntPtr name, IntPtr type, IntPtr domain, LookupResultFlags flags,
+ IntPtr userdata);
public struct ServiceInfo
{
public IPAddress Address;
public UInt16 Port;
public byte[][] Text;
+ public LookupResultFlags Flags;
public static ServiceInfo Zero = new ServiceInfo ();
}
private Protocol proto;
private string domain;
private string type;
+ private LookupFlags flags;
private ServiceBrowserCallback cb;
private ArrayList addListeners = new ArrayList ();
[DllImport ("avahi-client")]
private static extern IntPtr avahi_service_browser_new (IntPtr client, int iface, int proto, IntPtr type,
- IntPtr domain, ServiceBrowserCallback cb,
+ IntPtr domain, LookupFlags flags,
+ ServiceBrowserCallback cb,
IntPtr userdata);
[DllImport ("avahi-client")]
}
public ServiceBrowser (Client client, string type, string domain) : this (client, -1, Protocol.Unspecified,
- type, domain)
+ type, domain, LookupFlags.None)
{
}
- public ServiceBrowser (Client client, int iface, Protocol proto, string type, string domain)
+ public ServiceBrowser (Client client, int iface, Protocol proto, string type, string domain, LookupFlags flags)
{
this.client = client;
this.iface = iface;
this.proto = proto;
this.domain = domain;
this.type = type;
+ this.flags = flags;
cb = OnServiceBrowserCallback;
}
IntPtr typePtr = Utility.StringToPtr (type);
lock (client) {
- handle = avahi_service_browser_new (client.Handle, iface, (int) proto, typePtr, domainPtr,
+ handle = avahi_service_browser_new (client.Handle, iface, (int) proto, typePtr, domainPtr, flags,
cb, IntPtr.Zero);
}
Utility.Free (domainPtr);
}
private void OnServiceBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent,
- IntPtr name, IntPtr type, IntPtr domain, IntPtr userdata)
+ IntPtr name, IntPtr type, IntPtr domain, LookupResultFlags flags,
+ IntPtr userdata)
{
ServiceInfo info;
info.Address = null;
info.Port = 0;
info.Text = null;
+ info.Flags = flags;
infos.Add (info);
internal delegate void ServiceResolverCallback (IntPtr resolver, int iface, Protocol proto,
ResolverEvent revent, IntPtr name, IntPtr type,
IntPtr domain, IntPtr host, IntPtr address,
- UInt16 port, IntPtr txt, IntPtr userdata);
+ UInt16 port, IntPtr txt, LookupResultFlags flags,
+ IntPtr userdata);
public class ServiceResolver : IDisposable
{
private string type;
private string domain;
private Protocol aproto;
+ private LookupFlags flags;
private ServiceResolverCallback cb;
private ArrayList foundListeners = new ArrayList ();
[DllImport ("avahi-client")]
private static extern IntPtr avahi_service_resolver_new (IntPtr client, int iface, Protocol proto,
IntPtr name, IntPtr type, IntPtr domain,
- Protocol aproto, ServiceResolverCallback cb,
+ Protocol aproto, LookupFlags flags,
+ ServiceResolverCallback cb,
IntPtr userdata);
[DllImport ("avahi-common")]
lock (client) {
handle = avahi_service_resolver_new (client.Handle, iface, proto, namePtr, typePtr, domainPtr,
- aproto, cb, IntPtr.Zero);
+ aproto, flags, cb, IntPtr.Zero);
}
Utility.Free (namePtr);
private void OnServiceResolverCallback (IntPtr resolver, int iface, Protocol proto,
ResolverEvent revent, IntPtr name, IntPtr type,
IntPtr domain, IntPtr host, IntPtr address,
- UInt16 port, IntPtr txt, IntPtr userdata)
+ UInt16 port, IntPtr txt, LookupResultFlags flags,
+ IntPtr userdata)
{
ServiceInfo info;
info.NetworkInterface = iface;
}
info.Text = (byte[][]) txtlist.ToArray (typeof (byte[]));
+ info.Flags = flags;
if (revent == ResolverEvent.Found) {
currentInfo = info;
namespace Avahi
{
internal delegate void ServiceTypeBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent,
- IntPtr type, IntPtr domain, IntPtr userdata);
+ IntPtr type, IntPtr domain, LookupResultFlags flags,
+ IntPtr userdata);
public struct ServiceTypeInfo
{
public Protocol Protocol;
public string Domain;
public string ServiceType;
+ public LookupResultFlags Flags;
}
public delegate void ServiceTypeInfoHandler (object o, ServiceTypeInfo info);
private int iface;
private Protocol proto;
private string domain;
+ private LookupFlags flags;
private ServiceTypeBrowserCallback cb;
private ArrayList addListeners = new ArrayList ();
[DllImport ("avahi-client")]
private static extern IntPtr avahi_service_type_browser_new (IntPtr client, int iface, int proto,
- IntPtr domain, ServiceTypeBrowserCallback cb,
+ IntPtr domain, LookupFlags flags,
+ ServiceTypeBrowserCallback cb,
IntPtr userdata);
[DllImport ("avahi-client")]
{
}
- public ServiceTypeBrowser (Client client, string domain) : this (client, -1, Protocol.Unspecified, domain)
+ public ServiceTypeBrowser (Client client, string domain) : this (client, -1, Protocol.Unspecified,
+ domain, LookupFlags.None)
{
}
-
- public ServiceTypeBrowser (Client client, int iface, Protocol proto, string domain)
+
+ public ServiceTypeBrowser (Client client, int iface, Protocol proto, string domain, LookupFlags flags)
{
this.client = client;
this.iface = iface;
this.proto = proto;
this.domain = domain;
+ this.flags = flags;
cb = OnServiceTypeBrowserCallback;
}
lock (client) {
IntPtr domainPtr = Utility.StringToPtr (domain);
- handle = avahi_service_type_browser_new (client.Handle, iface, (int) proto, domainPtr,
+ handle = avahi_service_type_browser_new (client.Handle, iface, (int) proto, domainPtr, flags,
cb, IntPtr.Zero);
Utility.Free (domainPtr);
}
}
private void OnServiceTypeBrowserCallback (IntPtr browser, int iface, Protocol proto, BrowserEvent bevent,
- IntPtr type, IntPtr domain, IntPtr userdata)
+ IntPtr type, IntPtr domain, LookupResultFlags flags,
+ IntPtr userdata)
{
ServiceTypeInfo info;
info.Protocol = proto;
info.Domain = Utility.PtrToString (domain);
info.ServiceType = Utility.PtrToString (type);
+ info.Flags = flags;
infos.Add (info);
<remarks>To be added.</remarks>
</Docs>
</Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public AddressResolver (Avahi.Client client, int iface, Avahi.Protocol proto, System.Net.IPAddress address);" />
- <MemberType>Constructor</MemberType>
- <Parameters>
- <Parameter Name="client" Type="Avahi.Client" />
- <Parameter Name="iface" Type="System.Int32" />
- <Parameter Name="proto" Type="Avahi.Protocol" />
- <Parameter Name="address" Type="System.Net.IPAddress" />
- </Parameters>
- <Docs>
- <param name="client">To be added.</param>
- <param name="iface">To be added.</param>
- <param name="proto">To be added.</param>
- <param name="address">To be added.</param>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
- </Docs>
- </Member>
<Member MemberName="Found">
<MemberSignature Language="C#" Value="public event Avahi.HostAddressHandler Found;" />
<MemberType>Event</MemberType>
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName=".ctor">
+ <MemberSignature Language="C#" Value="public AddressResolver (Avahi.Client client, int iface, Avahi.Protocol proto, System.Net.IPAddress address, Avahi.LookupFlags flags);" />
+ <MemberType>Constructor</MemberType>
+ <Parameters>
+ <Parameter Name="client" Type="Avahi.Client" />
+ <Parameter Name="iface" Type="System.Int32" />
+ <Parameter Name="proto" Type="Avahi.Protocol" />
+ <Parameter Name="address" Type="System.Net.IPAddress" />
+ <Parameter Name="flags" Type="Avahi.LookupFlags" />
+ </Parameters>
+ <Docs>
+ <param name="client">To be added.</param>
+ <param name="iface">To be added.</param>
+ <param name="proto">To be added.</param>
+ <param name="address">To be added.</param>
+ <param name="flags">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName="IsServiceLocal">
+ <MemberSignature Language="C#" Value="public bool IsServiceLocal (Avahi.ServiceInfo service);" />
+ <MemberType>Method</MemberType>
+ <ReturnValue>
+ <ReturnType>System.Boolean</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="service" Type="Avahi.ServiceInfo" />
+ </Parameters>
+ <Docs>
+ <param name="service">To be added.</param>
+ <summary>To be added.</summary>
+ <returns>To be added.</returns>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="IsServiceLocal">
+ <MemberSignature Language="C#" Value="public bool IsServiceLocal (int iface, Avahi.Protocol proto, string name, string type, string domain);" />
+ <MemberType>Method</MemberType>
+ <ReturnValue>
+ <ReturnType>System.Boolean</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="iface" Type="System.Int32" />
+ <Parameter Name="proto" Type="Avahi.Protocol" />
+ <Parameter Name="name" Type="System.String" />
+ <Parameter Name="type" Type="System.String" />
+ <Parameter Name="domain" Type="System.String" />
+ </Parameters>
+ <Docs>
+ <param name="iface">To be added.</param>
+ <param name="proto">To be added.</param>
+ <param name="name">To be added.</param>
+ <param name="type">To be added.</param>
+ <param name="domain">To be added.</param>
+ <summary>To be added.</summary>
+ <returns>To be added.</returns>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName="LocalServiceCookie">
+ <MemberSignature Language="C#" Value="public uint LocalServiceCookie { get; };" />
+ <MemberType>Property</MemberType>
+ <ReturnValue>
+ <ReturnType>System.UInt32</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <value>To be added.</value>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public DomainBrowser (Avahi.Client client, int iface, Avahi.Protocol proto, string domain, Avahi.DomainBrowserType btype);" />
- <MemberType>Constructor</MemberType>
- <Parameters>
- <Parameter Name="client" Type="Avahi.Client" />
- <Parameter Name="iface" Type="System.Int32" />
- <Parameter Name="proto" Type="Avahi.Protocol" />
- <Parameter Name="domain" Type="System.String" />
- <Parameter Name="btype" Type="Avahi.DomainBrowserType" />
- </Parameters>
- <Docs>
- <param name="client">To be added.</param>
- <param name="iface">To be added.</param>
- <param name="proto">To be added.</param>
- <param name="domain">To be added.</param>
- <param name="btype">To be added.</param>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
- </Docs>
- </Member>
<Member MemberName="DomainAdded">
<MemberSignature Language="C#" Value="public event Avahi.DomainInfoHandler DomainAdded;" />
<MemberType>Event</MemberType>
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName=".ctor">
+ <MemberSignature Language="C#" Value="public DomainBrowser (Avahi.Client client, int iface, Avahi.Protocol proto, string domain, Avahi.DomainBrowserType btype, Avahi.LookupFlags flags);" />
+ <MemberType>Constructor</MemberType>
+ <Parameters>
+ <Parameter Name="client" Type="Avahi.Client" />
+ <Parameter Name="iface" Type="System.Int32" />
+ <Parameter Name="proto" Type="Avahi.Protocol" />
+ <Parameter Name="domain" Type="System.String" />
+ <Parameter Name="btype" Type="Avahi.DomainBrowserType" />
+ <Parameter Name="flags" Type="Avahi.LookupFlags" />
+ </Parameters>
+ <Docs>
+ <param name="client">To be added.</param>
+ <param name="iface">To be added.</param>
+ <param name="proto">To be added.</param>
+ <param name="domain">To be added.</param>
+ <param name="btype">To be added.</param>
+ <param name="flags">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName="Flags">
+ <MemberSignature Language="C#" Value="public Avahi.LookupResultFlags Flags;" />
+ <MemberType>Field</MemberType>
+ <ReturnValue>
+ <ReturnType>Avahi.LookupResultFlags</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName="GetAlternativeServiceName">
+ <MemberSignature Language="C#" Value="public static string GetAlternativeServiceName (string name);" />
+ <MemberType>Method</MemberType>
+ <ReturnValue>
+ <ReturnType>System.String</ReturnType>
+ </ReturnValue>
+ <Parameters>
+ <Parameter Name="name" Type="System.String" />
+ </Parameters>
+ <Docs>
+ <param name="name">To be added.</param>
+ <summary>To be added.</summary>
+ <returns>To be added.</returns>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public HostNameResolver (Avahi.Client client, int iface, Avahi.Protocol proto, string hostname, Avahi.Protocol aproto);" />
- <MemberType>Constructor</MemberType>
- <Parameters>
- <Parameter Name="client" Type="Avahi.Client" />
- <Parameter Name="iface" Type="System.Int32" />
- <Parameter Name="proto" Type="Avahi.Protocol" />
- <Parameter Name="hostname" Type="System.String" />
- <Parameter Name="aproto" Type="Avahi.Protocol" />
- </Parameters>
- <Docs>
- <param name="client">To be added.</param>
- <param name="iface">To be added.</param>
- <param name="proto">To be added.</param>
- <param name="hostname">To be added.</param>
- <param name="aproto">To be added.</param>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
- </Docs>
- </Member>
<Member MemberName="Found">
<MemberSignature Language="C#" Value="public event Avahi.HostAddressHandler Found;" />
<MemberType>Event</MemberType>
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName=".ctor">
+ <MemberSignature Language="C#" Value="public HostNameResolver (Avahi.Client client, int iface, Avahi.Protocol proto, string hostname, Avahi.Protocol aproto, Avahi.LookupFlags flags);" />
+ <MemberType>Constructor</MemberType>
+ <Parameters>
+ <Parameter Name="client" Type="Avahi.Client" />
+ <Parameter Name="iface" Type="System.Int32" />
+ <Parameter Name="proto" Type="Avahi.Protocol" />
+ <Parameter Name="hostname" Type="System.String" />
+ <Parameter Name="aproto" Type="Avahi.Protocol" />
+ <Parameter Name="flags" Type="Avahi.LookupFlags" />
+ </Parameters>
+ <Docs>
+ <param name="client">To be added.</param>
+ <param name="iface">To be added.</param>
+ <param name="proto">To be added.</param>
+ <param name="hostname">To be added.</param>
+ <param name="aproto">To be added.</param>
+ <param name="flags">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public ServiceBrowser (Avahi.Client client, int iface, Avahi.Protocol proto, string type, string domain);" />
- <MemberType>Constructor</MemberType>
- <Parameters>
- <Parameter Name="client" Type="Avahi.Client" />
- <Parameter Name="iface" Type="System.Int32" />
- <Parameter Name="proto" Type="Avahi.Protocol" />
- <Parameter Name="type" Type="System.String" />
- <Parameter Name="domain" Type="System.String" />
- </Parameters>
- <Docs>
- <param name="client">To be added.</param>
- <param name="iface">To be added.</param>
- <param name="proto">To be added.</param>
- <param name="type">To be added.</param>
- <param name="domain">To be added.</param>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
- </Docs>
- </Member>
<Member MemberName="ServiceAdded">
<MemberSignature Language="C#" Value="public event Avahi.ServiceInfoHandler ServiceAdded;" />
<MemberType>Event</MemberType>
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName=".ctor">
+ <MemberSignature Language="C#" Value="public ServiceBrowser (Avahi.Client client, int iface, Avahi.Protocol proto, string type, string domain, Avahi.LookupFlags flags);" />
+ <MemberType>Constructor</MemberType>
+ <Parameters>
+ <Parameter Name="client" Type="Avahi.Client" />
+ <Parameter Name="iface" Type="System.Int32" />
+ <Parameter Name="proto" Type="Avahi.Protocol" />
+ <Parameter Name="type" Type="System.String" />
+ <Parameter Name="domain" Type="System.String" />
+ <Parameter Name="flags" Type="Avahi.LookupFlags" />
+ </Parameters>
+ <Docs>
+ <param name="client">To be added.</param>
+ <param name="iface">To be added.</param>
+ <param name="proto">To be added.</param>
+ <param name="type">To be added.</param>
+ <param name="domain">To be added.</param>
+ <param name="flags">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName="Flags">
+ <MemberSignature Language="C#" Value="public Avahi.LookupResultFlags Flags;" />
+ <MemberType>Field</MemberType>
+ <ReturnValue>
+ <ReturnType>Avahi.LookupResultFlags</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public ServiceTypeBrowser (Avahi.Client client, int iface, Avahi.Protocol proto, string domain);" />
- <MemberType>Constructor</MemberType>
- <Parameters>
- <Parameter Name="client" Type="Avahi.Client" />
- <Parameter Name="iface" Type="System.Int32" />
- <Parameter Name="proto" Type="Avahi.Protocol" />
- <Parameter Name="domain" Type="System.String" />
- </Parameters>
- <Docs>
- <param name="client">To be added.</param>
- <param name="iface">To be added.</param>
- <param name="proto">To be added.</param>
- <param name="domain">To be added.</param>
- <summary>To be added.</summary>
- <remarks>To be added.</remarks>
- </Docs>
- </Member>
<Member MemberName="ServiceTypeAdded">
<MemberSignature Language="C#" Value="public event Avahi.ServiceTypeInfoHandler ServiceTypeAdded;" />
<MemberType>Event</MemberType>
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName=".ctor">
+ <MemberSignature Language="C#" Value="public ServiceTypeBrowser (Avahi.Client client, string domain, Avahi.LookupFlags flags);" />
+ <MemberType>Constructor</MemberType>
+ <Parameters>
+ <Parameter Name="client" Type="Avahi.Client" />
+ <Parameter Name="domain" Type="System.String" />
+ <Parameter Name="flags" Type="Avahi.LookupFlags" />
+ </Parameters>
+ <Docs>
+ <param name="client">To be added.</param>
+ <param name="domain">To be added.</param>
+ <param name="flags">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
+ <Member MemberName=".ctor">
+ <MemberSignature Language="C#" Value="public ServiceTypeBrowser (Avahi.Client client, int iface, Avahi.Protocol proto, string domain, Avahi.LookupFlags flags);" />
+ <MemberType>Constructor</MemberType>
+ <Parameters>
+ <Parameter Name="client" Type="Avahi.Client" />
+ <Parameter Name="iface" Type="System.Int32" />
+ <Parameter Name="proto" Type="Avahi.Protocol" />
+ <Parameter Name="domain" Type="System.String" />
+ <Parameter Name="flags" Type="Avahi.LookupFlags" />
+ </Parameters>
+ <Docs>
+ <param name="client">To be added.</param>
+ <param name="iface">To be added.</param>
+ <param name="proto">To be added.</param>
+ <param name="domain">To be added.</param>
+ <param name="flags">To be added.</param>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
</Members>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
+ <Member MemberName="Flags">
+ <MemberSignature Language="C#" Value="public Avahi.LookupResultFlags Flags;" />
+ <MemberType>Field</MemberType>
+ <ReturnValue>
+ <ReturnType>Avahi.LookupResultFlags</ReturnType>
+ </ReturnValue>
+ <Docs>
+ <summary>To be added.</summary>
+ <remarks>To be added.</remarks>
+ </Docs>
+ </Member>
</Members>
<Docs>
<summary>To be added.</summary>
<Type Name="ClientState" />
<Type Name="DomainBrowserType" />
<Type Name="EntryGroupState" />
+ <Type Name="LookupFlags" />
+ <Type Name="LookupResultFlags" />
</Namespace>
</Types>
<Title>avahi-sharp</Title>