Click or drag to resize

WorksessionFileFromByteArray Method

Reads a worksession from the contents of a worksession file.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static WorksessionFile FromByteArray(
	byte[] bytes
)

Parameters

bytes
Type: SystemByte
The contents of a .rws file.

Return Value

Type: WorksessionFile
The worksession, or null if the bytes could not be read, including the contents of a worksession file from a newer version of Rhino.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf bytes is null.
See Also