- 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;
-
- if (error != 0)