DOFCredentialsKeycreate Method (DOFObjectIDAuthentication, Byte)OpenDOF Object Access Library
Construct Key credentials from an objectID and key.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public static DOFCredentials create(
	DOFObjectIDAuthentication identity,
	byte[] key
)

Parameters

identity
Type: org.opendof.core.oalDOFObjectIDAuthentication
The authentication identity. This must not be null.
key
Type: SystemByte
The authentication 32 byte key. This must be 32 bytes and not null.

Return Value

Type: DOFCredentials
The new DOFCredentials.
Remarks

Construct Key credentials from an objectID and key. The BROADCAST domain is used.
See Also

Reference