| title | Interop C# APIs for WinUI |
|---|---|
| description | In .NET you can make use of the **Win32Interop** class, whose methods wrap and represent several interoperability functions including the [GetWindowIdFromWindow](/windows/windows-app-sdk/api/win32/microsoft.ui.interop/nf-microsoft-ui-interop-getwindowidfromwindow) function. |
| ms.topic | article |
| ms.date | 02/08/2022 |
| keywords | windows 10, windows 11, Windows App SDK, desktop development, winui, app sdk, C#, interop |
| ms.localizationpriority | low |
As a C# desktop application developer, in .NET you can make use of C# interop classes whose methods wrap and represent several interoperability functions. These include methods of C# classes representing the GetWindowIdFromWindow function, for example.
These C# interop classes are available in .NET as part of the Windows App SDK.
| Topic | Description |
|---|---|
| Microsoft.UI namespace | C# interop classes in the Microsoft.UI namespace. |