Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Windows App SDK doesn't include its own IPC or networking APIs. Instead, Windows App SDK desktop apps use the mechanisms provided by the Windows SDK and the .NET runtime: OS-level IPC (such as named pipes, out-of-process COM, shared memory, and RPC), and networking APIs from Win32 (Winsock, WinHTTP), WinRT (such as Windows.Networking.Sockets and Windows.Web.Http), or .NET (such as HttpClient and System.Net.Sockets).
Because these apps run as full-trust Win32 processes, the Win32 IPC and networking APIs work without any additional SDK dependency, whether or not the app has package identity. The WinRT networking APIs also work in this configuration; note that some other WinRT APIs do require package identity.
For sharing data between apps, Windows 11 also supports integration with the Windows Share Sheet. A packaged or unpackaged desktop app can send content to the Share Sheet by using the IDataTransferManagerInterop pattern. To receive shared content by registering as a Share Target, an unpackaged app must first be granted package identity.
Windows OS features
Windows 10 and later OS releases provide a wide variety of APIs related to communication scenarios for apps. These features are available via a combination of WinRT and Win32 (C++ and COM) APIs provided by the Windows SDK.
WinRT APIs
The following articles provide information about features available via WinRT APIs provided by the Windows SDK.
| Article | Description |
|---|---|
| Copy and paste | Learn how to implement copy and paste functionality in your WinUI, UWP, or other desktop app using the clipboard. |
| App-to-app communication | Learn how to share data between apps, including how to use the Share contract, copy and paste, drag and drop, and app services. |
| Interprocess communication | Learn about ways to perform interprocess communication (IPC) between Windows App SDK desktop apps and other Win32 applications. |
| Networking and web services | Learn about networking and web services technologies that are available to apps. |
| Sharing named objects | Learn how to share named objects between packaged desktop apps and unpackaged Win32 applications. |
Win32 (C++ and COM) APIs
The following articles provide information about features available via Win32 (C++ and COM) APIs provided by the Windows SDK.
| Article | Description |
|---|---|
| Networking and Internet | Learn about APIs, components, and services that support your app's use of networking and the Internet. |
| Remote Procedure Call | Learn about using Remote Procedure Call (RPC) to create distributed client/server programs. |
| Windows Sockets 2 (Winsock) | Learn how to use Windows Sockets 2 (Winsock) to create advanced Internet, intranet, and other network-capable apps. |
.NET features
The .NET SDK also provides APIs related to communication scenarios for WPF and Windows Forms apps.
| Article | Description |
|---|---|
| Network programming in the .NET Framework | Learn about building network-enabled apps using .NET. |
| Networking in Windows Forms | Learn about additional networking scenarios for Windows Forms apps. |
Related content
Windows developer