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\.ReleaseAsync\(CancellationToken\) Method Releases exclusive access to the device\. ```csharp public System.Threading.Tasks.Task ReleaseAsync(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 [ReleaseAsync\(CancellationToken\)](https://learn.microsoft.com/en-us/dotnet/api/possharp.abstractions.iuposdevice.releaseasync#possharp-abstractions-iuposdevice-releaseasync(system-threading-cancellationtoken) 'PosSharp\.Abstractions\.IUposDevice\.ReleaseAsync\(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\.