Install
dotnet add package Vanara.PInvoke.WTSApi32 --version 5.0.3
| Product | Versions |
|---|---|
| .NET | |
| .NET Standard | |
| Other |
README
![]()
Vanara.PInvoke.WTSApi32 NuGet Package
PInvoke API (methods, structures and constants) imported from Windows WTSApi32.dll.
What is Vanara?
Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.
Issues?
First check if it's already fixed by trying the MyGet build. If you're still running into problems, file an issue.
Included in Vanara.PInvoke.WTSApi32
| Functions | Enumerations | Structures |
|---|---|---|
| WTSActiveSessionExists WTSCloseServer WTSConnectSession WTSCreateListener WTSDisconnectSession WTSEnableChildSessions WTSEnumerateListeners WTSEnumerateProcesses WTSEnumerateProcessesEx WTSEnumerateServers WTSEnumerateSessions WTSEnumerateSessionsEx WTSFreeMemory WTSFreeMemoryEx WTSGetChildSessionId WTSGetListenerSecurity WTSIsChildSessionsEnabled WTSLogoffSession WTSOpenServer WTSOpenServerEx WTSQueryListenerConfig WTSQuerySessionInformation WTSQueryUserConfig WTSQueryUserToken WTSRegisterSessionNotification WTSRegisterSessionNotificationEx WTSSendMessage WTSSetListenerSecurity WTSSetRenderHint WTSSetUserConfig WTSShutdownSystem WTSStartRemoteControlSession WTSStopRemoteControlSession WTSTerminateProcess WTSUnRegisterSessionNotification WTSUnRegisterSessionNotificationEx WTSVirtualChannelClose WTSVirtualChannelOpen WTSVirtualChannelOpenEx WTSVirtualChannelPurgeInput WTSVirtualChannelPurgeOutput WTSVirtualChannelQuery WTSVirtualChannelRead WTSVirtualChannelWrite WTSWaitSystemEvent | REMOTECONTROL_HOTKEY SessionProtocolType WTS_CHANNEL_OPTION WTS_CONFIG_CLASS WTS_CONFIG_SOURCE WTS_CONNECTSTATE_CLASS WTS_EVENT WTS_INFO_CLASS WTS_LISTENER WTS_SESSIONSTATE WTS_TYPE_CLASS WTS_VIRTUAL_CLASS WTS_WSD WTSNotification RENDER_HINT | HWTSSERVER WTS_CLIENT_ADDRESS WTS_CLIENT_DISPLAY WTS_PROCESS_INFO WTS_PROCESS_INFO_EX WTS_SERVER_INFO WTS_SESSION_ADDRESS WTS_SESSION_INFO WTS_SESSION_INFO_1 WTSCLIENT WTSCONFIGINFO WTSINFO WTSINFOEX WTSINFOEX_LEVEL WTSINFOEX_LEVEL1 WTSLISTENERCONFIG WTSLISTENERNAME WTSUSERCONFIG HVIRTUALCHANNEL |
Changes from Previous Version
No structural changes between v5.0.1 and v5.0.3.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Compatibility metadata lists 10 target frameworks; confirm the exact target used by your application.The published metadata declares 22 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.