AdvancedRobot GetDataFile Method Robocode Robot API for .NET
Returns a file in your data directory that you can write to.

The system will automatically create the directory for you, so you do not need to create it by yourself.

Please notice that the max. size of your data file is set to 200000 bytes (~195 KB).

See the Sample.SittingDuck to see an example of how to use this method.

Namespace: Robocode
Assembly: robocode (in robocode.dll) Version: 1.9.3.0
Syntax

public Stream GetDataFile(
	string filename
)

Parameters

filename
Type: OnlineSystem String
The file name of the data file for your robot

Return Value

Type: OnlineStream
See Also