DOFOperationSessionDataTransformtransformSendData Method OpenDOF Object Access Library
This method encrypts and/or compresses received data.

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

C#
byte[] transformSendData(
	DOFInterfaceID interfaceID,
	byte[] data
)

Parameters

interfaceID
Type: org.opendof.core.oalDOFInterfaceID
This identifies the interface that the data relates to.
data
Type: SystemByte
This is the unencrypted/uncompressed data.

Return Value

Type: Byte
The encrypted/compressed data.
Exceptions

ExceptionCondition
DOFErrorExceptionIf unable to apply the DataTransform.
DOFErrorException
Remarks

This method encrypts and/or compresses received data. The interfaceID parameter allows the transformation mechanism to be paired with the interface type.
See Also

Reference