## Vanara.PInvoke.WsmSvc  
PInvoke API (methods, interfaces, structures and constants) imported from Windows WsmSvc.dll for Windows Remote Management.

- Includes methods from wsmsvc.dll  
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.WsmSvc?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.WsmSvc?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.WsmSvc)  
### Methods - 39% API coverage (12 of 31 functions)  
Native Method | Header | Managed Method  
--- | --- | ---  
[WSManCloseCommand](https://www.google.com/search?num=5&q=WSManCloseCommand+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManCloseCommand](https://github.com/dahall/Vanara/search?l=C%23&q=WSManCloseCommand)  
[WSManCloseOperation](https://www.google.com/search?num=5&q=WSManCloseOperation+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManCloseOperation](https://github.com/dahall/Vanara/search?l=C%23&q=WSManCloseOperation)  
[WSManCloseSession](https://www.google.com/search?num=5&q=WSManCloseSession+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManCloseSession](https://github.com/dahall/Vanara/search?l=C%23&q=WSManCloseSession)  
[WSManCloseShell](https://www.google.com/search?num=5&q=WSManCloseShell+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManCloseShell](https://github.com/dahall/Vanara/search?l=C%23&q=WSManCloseShell)  
[WSManConnectShell](https://www.google.com/search?num=5&q=WSManConnectShell+site%3Adocs.microsoft.com) |  |   
[WSManConnectShellCommand](https://www.google.com/search?num=5&q=WSManConnectShellCommand+site%3Adocs.microsoft.com) |  |   
[WSManCreateSession](https://www.google.com/search?num=5&q=WSManCreateSession+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManCreateSession](https://github.com/dahall/Vanara/search?l=C%23&q=WSManCreateSession)  
[WSManCreateShell](https://www.google.com/search?num=5&q=WSManCreateShell+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManCreateShell](https://github.com/dahall/Vanara/search?l=C%23&q=WSManCreateShell)  
[WSManCreateShellEx](https://www.google.com/search?num=5&q=WSManCreateShellEx+site%3Adocs.microsoft.com) |  |   
[WSManDeinitialize](https://www.google.com/search?num=5&q=WSManDeinitialize+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManDeinitialize](https://github.com/dahall/Vanara/search?l=C%23&q=WSManDeinitialize)  
[WSManDisconnectShell](https://www.google.com/search?num=5&q=WSManDisconnectShell+site%3Adocs.microsoft.com) |  |   
[WSManGetErrorMessage](https://www.google.com/search?num=5&q=WSManGetErrorMessage+site%3Adocs.microsoft.com) |  |   
[WSManGetSessionOptionAsDword](https://www.google.com/search?num=5&q=WSManGetSessionOptionAsDword+site%3Adocs.microsoft.com) |  |   
[WSManGetSessionOptionAsString](https://www.google.com/search?num=5&q=WSManGetSessionOptionAsString+site%3Adocs.microsoft.com) |  |   
[WSManInitialize](https://www.google.com/search?num=5&q=WSManInitialize+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManInitialize](https://github.com/dahall/Vanara/search?l=C%23&q=WSManInitialize)  
[WSManPluginAuthzOperationComplete](https://www.google.com/search?num=5&q=WSManPluginAuthzOperationComplete+site%3Adocs.microsoft.com) |  |   
[WSManPluginAuthzQueryQuotaComplete](https://www.google.com/search?num=5&q=WSManPluginAuthzQueryQuotaComplete+site%3Adocs.microsoft.com) |  |   
[WSManPluginAuthzUserComplete](https://www.google.com/search?num=5&q=WSManPluginAuthzUserComplete+site%3Adocs.microsoft.com) |  |   
[WSManPluginFreeRequestDetails](https://www.google.com/search?num=5&q=WSManPluginFreeRequestDetails+site%3Adocs.microsoft.com) |  |   
[WSManPluginGetOperationParameters](https://www.google.com/search?num=5&q=WSManPluginGetOperationParameters+site%3Adocs.microsoft.com) |  |   
[WSManPluginOperationComplete](https://www.google.com/search?num=5&q=WSManPluginOperationComplete+site%3Adocs.microsoft.com) |  |   
[WSManPluginReceiveResult](https://www.google.com/search?num=5&q=WSManPluginReceiveResult+site%3Adocs.microsoft.com) |  |   
[WSManPluginReportContext](https://www.google.com/search?num=5&q=WSManPluginReportContext+site%3Adocs.microsoft.com) |  |   
[WSManReceiveShellOutput](https://www.google.com/search?num=5&q=WSManReceiveShellOutput+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManReceiveShellOutput](https://github.com/dahall/Vanara/search?l=C%23&q=WSManReceiveShellOutput)  
[WSManReconnectShell](https://www.google.com/search?num=5&q=WSManReconnectShell+site%3Adocs.microsoft.com) |  |   
[WSManReconnectShellCommand](https://www.google.com/search?num=5&q=WSManReconnectShellCommand+site%3Adocs.microsoft.com) |  |   
[WSManRunShellCommand](https://www.google.com/search?num=5&q=WSManRunShellCommand+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManRunShellCommand](https://github.com/dahall/Vanara/search?l=C%23&q=WSManRunShellCommand)  
[WSManRunShellCommandEx](https://www.google.com/search?num=5&q=WSManRunShellCommandEx+site%3Adocs.microsoft.com) |  |   
[WSManSendShellInput](https://www.google.com/search?num=5&q=WSManSendShellInput+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManSendShellInput](https://github.com/dahall/Vanara/search?l=C%23&q=WSManSendShellInput)  
[WSManSetSessionOption](https://www.google.com/search?num=5&q=WSManSetSessionOption+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSManSetSessionOption](https://github.com/dahall/Vanara/search?l=C%23&q=WSManSetSessionOption)  
[WSManSignalShell](https://www.google.com/search?num=5&q=WSManSignalShell+site%3Adocs.microsoft.com) |  |   
### Structures  
Native Structure | Header | Managed Structure  
--- | --- | ---  
[WSMAN_API_HANDLE](https://www.google.com/search?num=5&q=WSMAN_API_HANDLE+site%3Adocs.microsoft.com) |  | [Vanara.PInvoke.WsmSvc.WSMAN_API_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_API_HANDLE)  
[WSMAN_AUTHENTICATION_CREDENTIALS](https://www.google.com/search?num=5&q=WSMAN_AUTHENTICATION_CREDENTIALS+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_AUTHENTICATION_CREDENTIALS](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_AUTHENTICATION_CREDENTIALS)  
[WSMAN_COMMAND_ARG_SET](https://www.google.com/search?num=5&q=WSMAN_COMMAND_ARG_SET+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_COMMAND_ARG_SET](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_COMMAND_ARG_SET)  
[WSMAN_COMMAND_HANDLE](https://www.google.com/search?num=5&q=WSMAN_COMMAND_HANDLE+site%3Adocs.microsoft.com) |  | [Vanara.PInvoke.WsmSvc.WSMAN_COMMAND_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_COMMAND_HANDLE)  
[WSMAN_DATA](https://www.google.com/search?num=5&q=WSMAN_DATA+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_DATA](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_DATA)  
[WSMAN_DATA_BINARY](https://www.google.com/search?num=5&q=WSMAN_DATA_BINARY+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_DATA_BINARY](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_DATA_BINARY)  
[WSMAN_DATA_TEXT](https://www.google.com/search?num=5&q=WSMAN_DATA_TEXT+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_DATA_TEXT](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_DATA_TEXT)  
[WSMAN_DATA_UNION](https://www.google.com/search?num=5&q=WSMAN_DATA_UNION+site%3Adocs.microsoft.com) |  | [Vanara.PInvoke.WsmSvc.WSMAN_DATA.WSMAN_DATA_UNION](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_DATA_UNION)  
[WSMAN_ENVIRONMENT_VARIABLE](https://www.google.com/search?num=5&q=WSMAN_ENVIRONMENT_VARIABLE+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_ENVIRONMENT_VARIABLE](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_ENVIRONMENT_VARIABLE)  
[WSMAN_ENVIRONMENT_VARIABLE_SET](https://www.google.com/search?num=5&q=WSMAN_ENVIRONMENT_VARIABLE_SET+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_ENVIRONMENT_VARIABLE_SET](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_ENVIRONMENT_VARIABLE_SET)  
[WSMAN_ERROR](https://www.google.com/search?num=5&q=WSMAN_ERROR+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_ERROR](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_ERROR)  
[WSMAN_OPERATION_HANDLE](https://www.google.com/search?num=5&q=WSMAN_OPERATION_HANDLE+site%3Adocs.microsoft.com) |  | [Vanara.PInvoke.WsmSvc.WSMAN_OPERATION_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_OPERATION_HANDLE)  
[WSMAN_OPTION](https://www.google.com/search?num=5&q=WSMAN_OPTION+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_OPTION](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_OPTION)  
[WSMAN_OPTION_SET](https://www.google.com/search?num=5&q=WSMAN_OPTION_SET+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_OPTION_SET](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_OPTION_SET)  
[WSMAN_PROXY_INFO](https://www.google.com/search?num=5&q=WSMAN_PROXY_INFO+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_PROXY_INFO](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_PROXY_INFO)  
[WSMAN_RECEIVE_DATA_RESULT](https://www.google.com/search?num=5&q=WSMAN_RECEIVE_DATA_RESULT+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_RECEIVE_DATA_RESULT](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_RECEIVE_DATA_RESULT)  
[WSMAN_RESPONSE_DATA](https://www.google.com/search?num=5&q=WSMAN_RESPONSE_DATA+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_RESPONSE_DATA](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_RESPONSE_DATA)  
[WSMAN_SESSION_HANDLE](https://www.google.com/search?num=5&q=WSMAN_SESSION_HANDLE+site%3Adocs.microsoft.com) |  | [Vanara.PInvoke.WsmSvc.WSMAN_SESSION_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_SESSION_HANDLE)  
[WSMAN_SHELL_ASYNC](https://www.google.com/search?num=5&q=WSMAN_SHELL_ASYNC+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_SHELL_ASYNC](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_SHELL_ASYNC)  
[WSMAN_SHELL_HANDLE](https://www.google.com/search?num=5&q=WSMAN_SHELL_HANDLE+site%3Adocs.microsoft.com) |  | [Vanara.PInvoke.WsmSvc.WSMAN_SHELL_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_SHELL_HANDLE)  
[WSMAN_SHELL_STARTUP_INFO_V10](https://www.google.com/search?num=5&q=WSMAN_SHELL_STARTUP_INFO_V10+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_SHELL_STARTUP_INFO_V10](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_SHELL_STARTUP_INFO_V10)  
[WSMAN_SHELL_STARTUP_INFO_V11](https://www.google.com/search?num=5&q=WSMAN_SHELL_STARTUP_INFO_V11+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_SHELL_STARTUP_INFO_V11](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_SHELL_STARTUP_INFO_V11)  
[WSMAN_STREAM_ID_SET](https://www.google.com/search?num=5&q=WSMAN_STREAM_ID_SET+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_STREAM_ID_SET](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_STREAM_ID_SET)  
[WSMAN_USERNAME_PASSWORD_CREDS](https://www.google.com/search?num=5&q=WSMAN_USERNAME_PASSWORD_CREDS+site%3Adocs.microsoft.com) | wsman.h | [Vanara.PInvoke.WsmSvc.WSMAN_USERNAME_PASSWORD_CREDS](https://github.com/dahall/Vanara/search?l=C%23&q=WSMAN_USERNAME_PASSWORD_CREDS)  
### Classes  
Native Class | Header | Managed Class  
--- | --- | ---  
[SafeWSMAN_API_HANDLE](https://www.google.com/search?num=5&q=SafeWSMAN_API_HANDLE+site%3Adocs.microsoft.com) |  | [Vanara.PInvoke.WsmSvc.SafeWSMAN_API_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=SafeWSMAN_API_HANDLE)  
[SafeWSMAN_OPERATION_HANDLE](https://www.google.com/search?num=5&q=SafeWSMAN_OPERATION_HANDLE+site%3Adocs.microsoft.com) |  | [Vanara.PInvoke.WsmSvc.SafeWSMAN_OPERATION_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=SafeWSMAN_OPERATION_HANDLE)  
[SafeWSMAN_SESSION_HANDLE](https://www.google.com/search?num=5&q=SafeWSMAN_SESSION_HANDLE+site%3Adocs.microsoft.com) |  | [Vanara.PInvoke.WsmSvc.SafeWSMAN_SESSION_HANDLE](https://github.com/dahall/Vanara/search?l=C%23&q=SafeWSMAN_SESSION_HANDLE)  
