CimWinRM Client

The CimWinRMClient is a wrapper to the lower layer WS-Management mechanisms, independent of other implementations such as DotNet and Openwsman. The application passes the serialized CIM object to the wrapper, along with information specifying connection information for the specific Intel AMT platform.

The WinRM client inherent WinRM limitations:

    It does not support WinRM 2.x. Using the client with 2.x version will cause an unexpected behavior.

    It does not support TLS mutual authentication

    It does not support defining a proxy per connection

    It does not support the following WS-Management commands: Subscribe, Unsubscribe.

    WinRM does not support the option of providing Kerberos authentication with user name and password.

Public functions

Function

Description

CimWinRMClient(const ConnectionInfo &Connection)

Constructor of the WSMan client using ConnectionInfo

CimWinRMClient(const string &host, const int port, bool secure,

AuthMethod auth_method, const string &username, const string &password)

Constructor of the WSMan client using all parameters

CimWinRMClient (const CimWinRMClient & Other)

Copy constructor

The following examples demonstrate how to initialize the WS-Management client:

ICimWsmanClient* client = new CimWinRMClient("IP/hostName",

              16992,  // Alternatively, 16993 for TLS 
                    secure, // True for TLS
                    DIGEST, // or KERBEROS
                    "MyUserName", "StrongPassword")

Copyright © 2006-2022, Intel Corporation. All rights reserved.