void SetReadBufSize (string, int)

Sets the length of the array used to read from the specified device.

Security

Trust Level Required: Full Trust

Parameters

Name Description
devName string
The name of the device in the Configuration Tool.
buffSize (Optional) int
The number of bytes the read array should hold. Defaults to 1024 bytes.

Remarks

The Configuration Tool will allow the user to provide a name for the device and provide a description. This name will be used for all communication between KioWare and the device. It is mandatory to use the identical string when calling into this method.

Examples


//The name of the device will be user defined in the Configuration Tool.
var devName = "device";
if(KioRawSerialDevice.IsOpen(devName))	
	KioRawSerialDevice.SetReadBufSize(devName, 2048);
    

Requirements

KioWare for Windows version 8.11 or greater.