Click or drag to resize

WorksessionFileToByteArray Method (Int32)

Writes the worksession as the contents of a .rws file.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public byte[] ToByteArray(
	int version
)

Parameters

version
Type: SystemInt32
4 or 5.

Return Value

Type: Byte
The file contents, or null if the worksession could not be written.
See Also