DOFCredentialscreate Method (Byte)OpenDOF Object Access Library
Create DOFCredentials from a buffer that was obtained through marshal(DOFMarshalContext, object, DOFPacket) .

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

C#
public static DOFCredentials create(
	byte[] data
)

Parameters

data
Type: SystemByte
The byte array representing the credential, including all of its data, suitable for storage.

Return Value

Type: DOFCredentials
A DOFCredentials that contains the same data as that used to call marshal(DOFMarshalContext, object, DOFPacket) .
Exceptions

ExceptionCondition
DOFMarshalExceptionUpon unmarshal error.
DOFMarshalException
See Also

Reference