PosSharp v1.2.0 API Reference

--- #### [PosSharp\.Core](PosSharp.Core 'PosSharp\.Core') ### [PosSharp\.Core](PosSharp.Core 'PosSharp\.Core').[UposDeviceBase](PosSharp.Core.UposDeviceBase 'PosSharp\.Core\.UposDeviceBase') ## UposDeviceBase\.ClearInputAsync\(CancellationToken\) Method Clears all pending input data\. ```csharp public System.Threading.Tasks.Task ClearInputAsync(System.Threading.CancellationToken ct=default(System.Threading.CancellationToken)); ``` #### Parameters `ct` [System\.Threading\.CancellationToken](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken 'System\.Threading\.CancellationToken') A token to cancel the operation\. Implements [ClearInputAsync\(CancellationToken\)](https://learn.microsoft.com/en-us/dotnet/api/possharp.abstractions.iuposdevice.clearinputasync#possharp-abstractions-iuposdevice-clearinputasync(system-threading-cancellationtoken) 'PosSharp\.Abstractions\.IUposDevice\.ClearInputAsync\(System\.Threading\.CancellationToken\)') #### Returns [System\.Threading\.Tasks\.Task](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task 'System\.Threading\.Tasks\.Task') A task representing the asynchronous operation\.