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: DOFCredentialsA DOFCredentials that contains the same data as that used to call marshal(DOFMarshalContext, object, DOFPacket) .
Exceptions
Exception | Condition |
---|---|
DOFMarshalException | Upon unmarshal error. |
DOFMarshalException |
See Also