# GetActiveDoc Method

## Overloads

| [GetActiveDoc()](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.IHub.GetActiveDoc.htm#Qlik_Engine_IHub_GetActiveDoc) |  | Returns the handle of the current app. |
| --- | --- | --- |

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

## GetActiveDoc()

Returns the handle of the current app.

### Declaration

```

          App GetActiveDoc()
    
  
```

### Returns

| Type | Description |
| --- | --- |
| [App](https://help.qlik.com/en-US/sense-developer/November2024/Subsystems/NetSDKAPIref/Content/Qlik.Engine.App.htm) |  |