Skip to content

PosSharp.Abstractions.IUposDevice.ClaimAsync(int,System.Threading.CancellationToken)

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

PosSharp v1.2.0 API Reference


IUposDevice.ClaimAsync(int, CancellationToken) Method

Claims exclusive access to the device.

System.Threading.Tasks.Task ClaimAsync(int timeout, System.Threading.CancellationToken ct=default(System.Threading.CancellationToken));

Parameters

timeout System.Int32

Timeout in milliseconds.

ct System.Threading.CancellationToken

A token to cancel the operation.

Returns

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

Clone this wiki locally