# OSVersionAsync Method

## Overloads

| [OSVersionAsync()](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.OSVersionAsync.htm#Qlik_Engine_IHub_OSVersionAsync) |  | Returns the version number of the operating system. |
| --- | --- | --- |
| [OSVersionAsync(AsyncHandle)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.OSVersionAsync.htm#Qlik_Engine_IHub_OSVersionAsync_Qlik_Engine_AsyncHandle_) |  | Returns the version number of the operating system. |
| [OSVersionAsync<T>(AsyncHandle, Func<Response, T>)](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.OSVersionAsync.htm#Qlik_Engine_IHub_OSVersionAsync__1_Qlik_Engine_AsyncHandle_System_Func_Qlik_Engine_Communication_IO_Response___0__) |  | Returns the version number of the operating system. |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.OSVersionAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.OSVersionAsync.htm)

## OSVersionAsync()

Returns the version number of the operating system.

### Declaration

```

          Task<string> OSVersionAsync()
    
  
```

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.String&gt; |  |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.OSVersionAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.OSVersionAsync.htm)

## OSVersionAsync(AsyncHandle)

Returns the version number of the operating system.

### Declaration

```

          Task<string> OSVersionAsync(AsyncHandle asyncHandle)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;System.String&gt; |  |

[](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.OSVersionAsync.htm) [](https://help.qlik.com/en-US/sense-developer/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.OSVersionAsync.htm)

## OSVersionAsync&lt;T&gt;(AsyncHandle, Func&lt;Response, T&gt;)

Returns the version number of the operating system.

### Declaration

```
Task<T> OSVersionAsync<T>(AsyncHandle asyncHandle, Func<Response, T> onResult)
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| [AsyncHandle](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.AsyncHandle.htm) | asyncHandle | Handle to asynchronous method request |
| System.Func&lt;[Response](https://help.qlik.com/en-US/sense-developer/May2026/Subsystems/NetSDKAPIref/Content/Qlik.Engine.Communication.IO.Response.htm), T&gt; | onResult | Continuation function |

### Returns

| Type | Description |
| --- | --- |
| System.Threading.Tasks.Task&lt;T&gt; |  |

### Type Parameters

| Name | Description |
| --- | --- |
| T |  |