MonobjcMonobjc Documented Class Library
AuthenticateComponentsWithData Method (components, authenticationData)
NamespacesMonobjc.FoundationINSConnectionDelegateAuthenticateComponentsWithData(NSArray, NSData)

Returns a Boolean value that indicates whether given authentication data is valid for a given set of components.

Original signature is '- (BOOL)authenticateComponents:(NSArray *)components withData:(NSData *)authenticationData'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
bool AuthenticateComponentsWithData(
	NSArray components,
	NSData authenticationData
)
Function AuthenticateComponentsWithData ( _
	components As NSArray, _
	authenticationData As NSData _
) As Boolean
bool AuthenticateComponentsWithData(
	NSArray^ components, 
	NSData^ authenticationData
)
Parameters
components (NSArray)
An array that contains NSData and NSPort objects belonging to an NSPortMessage object. See the NSPortMessage class specification for more information.
authenticationData (NSData)
Authentication data created by the delegate of the peer NSConnection object with authenticationDataForComponents:.
Return Value
YES if the authenticationData provided is valid for components, otherwise NO.
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)