DOFCredentialswrite Method (FileStream)OpenDOF Object Access Library
Write the DOFCredentials to a
java.io.OutputStream
.

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

C#
public void write(
	FileStream stream
)

Parameters

stream
Type: System.IOFileStream
The stream to which to write the DOFCredentials. Must not be null.
Exceptions

ExceptionCondition
ArgumentExceptionIf stream is null.
IOExceptionThe file could not be written.
Remarks

Write the DOFCredentials to a
java.io.OutputStream
.

The written credential is a form of a credential which could be used by anyone gaining access to the results of the stream to access systems as if they were the owner. Care should be taken to only create these streams in secure settings.

The caller is responsible for closing the stream.

See Also

Reference