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\.OnCheckHealthAsync\(HealthCheckLevel, CancellationToken\) Method
Called by [CheckHealthAsync\(HealthCheckLevel, CancellationToken\)](PosSharp.Core.UposDeviceBase.CheckHealthAsync(PosSharp.Abstractions.HealthCheckLevel,System.Threading.CancellationToken).md 'PosSharp\.Core\.UposDeviceBase\.CheckHealthAsync\(PosSharp\.Abstractions\.HealthCheckLevel, System\.Threading\.CancellationToken\)') to perform health check logic\.
```csharp
protected abstract System.Threading.Tasks.Task OnCheckHealthAsync(PosSharp.Abstractions.HealthCheckLevel level, System.Threading.CancellationToken ct);
```
#### Parameters
`level` [PosSharp\.Abstractions\.HealthCheckLevel](https://learn.microsoft.com/en-us/dotnet/api/possharp.abstractions.healthchecklevel 'PosSharp\.Abstractions\.HealthCheckLevel')
Level of health check\.
`ct` [System\.Threading\.CancellationToken](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken 'System\.Threading\.CancellationToken')
Cancellation token\.
#### Returns
[System\.Threading\.Tasks\.Task<](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 'System\.Threading\.Tasks\.Task\`1')[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')[>](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1 'System\.Threading\.Tasks\.Task\`1')
Checking result text\.