MonobjcMonobjc Documented Class Library
RegisterName Method (name)
NamespacesMonobjc.FoundationNSConnectionRegisterName(NSString)

Registers the specified service using with the default system port name server.

Original signature is '- (BOOL)registerName:(NSString *)name'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool RegisterName(
	NSString name
)
Public Overridable Function RegisterName ( _
	name As NSString _
) As Boolean
public:
virtual bool RegisterName(
	NSString^ name
)
Parameters
name (NSString)
The name under which to register the receiver.
Return Value
YES if the operation was successful, otherwise NO (for example, if another NSConnection object on the same host is already registered under name).
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)