public static extern DnsServiceErrorType DNSServiceRegister( out IntPtr handle, DnsServiceFlags flags, int ifIndex, string name, string regType, string domain, string host, ushort port, ushort txtLen, [MarshalAs(UnmanagedType.LPArray)] byte[] txtRecord, DnsServiceRegisterReply callback, IntPtr context);