Skip to content

PosSharp.Core.UposDeviceBase.DirectIOAsync(int,int,object,System.Threading.CancellationToken)

github-actions[bot] edited this page May 8, 2026 · 5 revisions

PosSharp v1.2.0 API Reference


UposDeviceBase.DirectIOAsync(int, int, object, CancellationToken) Method

Sends a direct command to the device.

public System.Threading.Tasks.Task DirectIOAsync(int command, int data, object obj, System.Threading.CancellationToken ct=default(System.Threading.CancellationToken));

Parameters

command System.Int32

The command to send.

data System.Int32

Input/output data value.

obj System.Object

Input/output object.

ct System.Threading.CancellationToken

A token to cancel the operation.

Implements DirectIOAsync(int, int, object, CancellationToken)

Returns

System.Threading.Tasks.Task
A task representing the asynchronous operation.

Clone this wiki locally