Mac Guides | Samples

MonoMac.Foundation.NSNetService Class

Used to expose network services using multicast DNS (ZeroConf).

See Also: NSNetService

Syntax

[MonoMac.Foundation.Register("NSNetService", true)]
public class NSNetService : NSObject

Requirements

Namespace: MonoMac.Foundation
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.Foundation.NSNetService are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes when the derived class has an [Export] constructor.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
AddressesNSData[].
[read-only]
override
ClassHandleIntPtr. The handle for this class.
DelegateNSNetServiceDelegate. An instance of the MonoMac.Foundation.NSNetServiceDelegate model class which acts as the class delegate.
[read-only]
DomainString.
[read-only]
HostNameString.
[read-only]
NameString.
[read-only]
PortInt32.
TxtRecordDataNSData.
[read-only]
TypeString.
WeakDelegateNSObject. An object that can respond to the delegate protocol for this type

Public Methods

Protected Methods

override
Dispose(Boolean)
Releases the resourced used by the NSNetService object.

Public Events

AddressResolvedEvent raised by the object.
PublishedEvent raised by the object.
PublishFailureEvent raised by the object.
ResolveFailureEvent raised by the object.
StoppedEvent raised by the object.
UpdatedTxtRecordDataEvent raised by the object.
WillPublishEvent raised by the object.
WillResolveEvent raised by the object.