The "entry point" interface for Zeroconf provider assemblies.
Example stub code for a Zeroconf provider. The provider would implement the types MyServiceBrowser, MyRegisterService, and MyTxtRecord, which must implement the respecitve interfaces in Mono.Zeroconf.
C# Example using System; using Mono.Zeroconf.Providers; [assembly:ZeroconfProvider (typeof (MyZeroconfProvider))] public class MyZeroconfProvider : IZeroconfProvider { public void Initialize () { } public Type ServiceBrowser { get { return typeof (MyServiceBrowser); } } public Type RegisterService { get { return typeof (MyRegisterService); } } public Type TxtRecord { get { return typeof (MyTxtRecord); } } }
Namespace: Mono.Zeroconf.Providers
Assembly: Mono.Zeroconf (in Mono.Zeroconf.dll)
Assembly Versions: 1.0.0.0, 3.0.0.80, 4.0.0.90
⊟ Public Properties
[read-only] RegisterService Type . Type of provider's Mono.Zeroconf.IRegisterService [read-only] ServiceBrowser Type . Type of provider's Mono.Zeroconf.IServiceBrowser [read-only] TxtRecord Type . Type of provider's Mono.Zeroconf.ITxtRecord ⊟ Public Methods
Initialize () Method to perform any kind of subsystem initialization and sanity check.
⊟ Initialize Method
Method to perform any kind of subsystem initialization and sanity check.
public void Initialize ()⊟ Remarks
This method is responsible for ensuring the underlying Zeroconf subsystem is running. If the subsystem cannot be contacted, this method should throw an exception. In the Bonjour implementation, this method opens and closes a test connection to the mDNSResponder daemon to ensure it is running.⊟ Requirements
Namespace: Mono.Zeroconf.Providers
Assembly: Mono.Zeroconf (in Mono.Zeroconf.dll)
Assembly Versions: 3.0.0.80, 4.0.0.90
⊟ RegisterService Property
Type of provider's Mono.Zeroconf.IRegisterService
public Type RegisterService { get; }⊟ Value
A type which implements Mono.Zeroconf.IRegisterService⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Mono.Zeroconf.Providers
Assembly: Mono.Zeroconf (in Mono.Zeroconf.dll)
Assembly Versions: 3.0.0.80, 4.0.0.90
⊟ ServiceBrowser Property
Type of provider's Mono.Zeroconf.IServiceBrowser
public Type ServiceBrowser { get; }⊟ Value
A type which implements Mono.Zeroconf.IServiceBrowser⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Mono.Zeroconf.Providers
Assembly: Mono.Zeroconf (in Mono.Zeroconf.dll)
Assembly Versions: 3.0.0.80, 4.0.0.90
⊟ TxtRecord Property
Type of provider's Mono.Zeroconf.ITxtRecord
public Type TxtRecord { get; }⊟ Value
A type which implements Mono.Zeroconf.ITxtRecord⊟ Remarks
Documentation for this section has not yet been entered.⊟ Requirements
Namespace: Mono.Zeroconf.Providers
Assembly: Mono.Zeroconf (in Mono.Zeroconf.dll)
Assembly Versions: 3.0.0.80, 4.0.0.90