//----------------------------------------------------------------------------
//
// Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved.
//
// File: IPS_HostBasedSetupService.cs
//
// Contents: Describes the Host Based Setup Service, which is the logic in Intel(R) AMT that responds to setup requests initiated from the host using OS Administrator credentials. Also provides a method to upgrade to Admin Control mode that can be initiated remotely.
// This file was automatically generated from IPS_HostBasedSetupService.mof
//
//----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using System.Globalization;
using System.Xml.Serialization;
using System.IO;
using Intel.Manageability.WSManagement;
using Intel.Manageability.Cim.Untyped;
namespace Intel.Manageability.Cim.Typed
{
///
///Describes the Host Based Setup Service, which is the logic in Intel(R) AMT that responds to setup requests initiated from the host using OS Administrator credentials. Also provides a method to upgrade to Admin Control mode that can be initiated remotely.
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService")]
[System.Xml.Serialization.XmlRootAttribute("IPS_HostBasedSetupService", Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
public class IPS_HostBasedSetupService : CIM_SecurityService
{
///
/// Default constructor.
///
public IPS_HostBasedSetupService() :base()
{
}
///
/// Constructor that recieves an xml string for deserialization.
///
/// xml string to deserialize
public IPS_HostBasedSetupService(string xml): base((IWSManClient)null)
{
this.Deserialize(xml);
}
///
/// Constructor which recieves a Ws-Management client object.
///
/// Ws-Management client
public IPS_HostBasedSetupService(IWSManClient client): base(client)
{
}
///
/// Remove AllowedControlModes field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveAllowedControlModes()
{
RemoveField("AllowedControlModes");
}
///
/// Is true if the field AllowedControlModes exists in the current object,
/// otherwise is false.
///
public virtual bool AllowedControlModesExist
{
get
{
return ContainsField("AllowedControlModes");
}
}
///
/// Optional, An array of values that indicates which control modes this machine is allowed to be in. This property is read-only. "Client" can only be removed using the "DisableClientControlMode" method.
///
[CimField(false, false)]
public virtual byte[] AllowedControlModes
{
get
{
return CimTypesUtils.StringArrayToArray(this["AllowedControlModes"]);
}
set
{
string[] arr = CimTypesUtils.ArrayToStringArray(value);
this.SetOrAddField("AllowedControlModes", arr);
}
}
///
/// Remove CertChainStatus field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveCertChainStatus()
{
RemoveField("CertChainStatus");
}
///
/// Is true if the field CertChainStatus exists in the current object,
/// otherwise is false.
///
public virtual bool CertChainStatusExist
{
get
{
return ContainsField("CertChainStatus");
}
}
///
/// Optional, Status of "AddNextCertInChain" progress. This property is read-only.
///
[CimField(false, false)]
public virtual byte CertChainStatus
{
get
{
return byte.Parse(this["CertChainStatus"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("CertChainStatus",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Remove ConfigurationNonce field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveConfigurationNonce()
{
RemoveField("ConfigurationNonce");
}
///
/// Is true if the field ConfigurationNonce exists in the current object,
/// otherwise is false.
///
public virtual bool ConfigurationNonceExist
{
get
{
return ContainsField("ConfigurationNonce");
}
}
///
/// Optional, Nonce value randomly generated by Intel(R) AMT, used as input to the Setup APIs. This value will be regenerated following an unprovision event and after a successful setup.It may also be regenerated following ME resets.
///
[CimField(false, false)]
public virtual byte[] ConfigurationNonce
{
get
{
return Convert.FromBase64String(this.GetField("ConfigurationNonce")[0]); }
set
{
this.SetOrAddField("ConfigurationNonce",Convert.ToBase64String(value));
}
}
///
/// Remove CurrentControlMode field.
/// Note: This method will succeed only if this field is optional in the concrete object.
///
public virtual void RemoveCurrentControlMode()
{
RemoveField("CurrentControlMode");
}
///
/// Is true if the field CurrentControlMode exists in the current object,
/// otherwise is false.
///
public virtual bool CurrentControlModeExist
{
get
{
return ContainsField("CurrentControlMode");
}
}
///
/// Optional, An enumeration value that indicates the control mode of the Intel(R) AMT subsystem after provisioning. This property is read-only
///
[CimField(false, false)]
public virtual byte CurrentControlMode
{
get
{
return byte.Parse(this["CurrentControlMode"][0], CultureInfo.InvariantCulture);
}
set
{
this.SetOrAddField("CurrentControlMode",value.ToString(CultureInfo.InvariantCulture));
}
}
///
///Setup Intel(R) AMT from local host. This function requires OS administrator rights, and moves Intel(R) AMT from "Pre Provisioned" state to "Post Provisioned" state. The control mode after this method is run will be "Client". This method also allows the configuring agent to sign the setup operation with a certificate. The certificate hash will be kept in the corresponding provisioning record
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
private class Setup_INPUT : CimParams
{
public Setup_INPUT(string ns) : base(ns)
{
}
///
/// Required, The encryption type of the network admin password. Only HTTP-MD5 is supported. The values are the same as the CIM_Account.UserPasswordEncryptionAlgorithm field
///
[CimField(false,true)]
public virtual ushort NetAdminPassEncryptionType
{
set
{
this.SetOrAddField("NetAdminPassEncryptionType",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Required, New network admin password to be set by this command, encrypted using the encryption type algorithm
///
[CimField(false,true)]
public virtual string NetworkAdminPassword
{
set
{
this.SetOrAddField("NetworkAdminPassword",value);
}
}
///
/// Optional, A random nonce value generated by the configuration agent.Required if the digital signature is provided.needs to be concatenated after the configuration nonce and signed together with the attached certificate's private key
///
[CimField(false,false)]
public virtual byte[] McNonce
{
set
{
this.SetOrAddField("McNonce",Convert.ToBase64String(value));
}
}
///
/// Optional, The certificate used to sign the setup operation. If the digital signature is provided, Intel(R) AMT will only validate the format of the certificate and that it was used to sign the nonces. If the operation is successful it will save the certificate hash in the corresponding provisioning record
///
[CimField(false,false)]
public virtual byte[] Certificate
{
set
{
this.SetOrAddField("Certificate",Convert.ToBase64String(value));
}
}
///
/// Optional, The signing algorithm used to sign the setup operation.
///
[CimField(false,false)]
public virtual ushort SigningAlgorithm
{
set
{
this.SetOrAddField("SigningAlgorithm",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Optional, A digital signature of the ConfigurationNonce and the McNonce concatenated. If this information is provided, AMT will validate the signature before accepting the command.
///
[CimField(false,false)]
public virtual byte[] DigitalSignature
{
set
{
this.SetOrAddField("DigitalSignature",Convert.ToBase64String(value));
}
}
}
///
///Setup Intel(R) AMT from local host. This function requires OS administrator rights, and moves Intel(R) AMT from "Pre Provisioned" state to "Post Provisioned" state. The control mode after this method is run will be "Client". This method also allows the configuring agent to sign the setup operation with a certificate. The certificate hash will be kept in the corresponding provisioning record
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
private class Setup_OUTPUT : CimParams
{
public Setup_OUTPUT() : base("")
{
}
}
///
///Setup Intel(R) AMT from local host. This function requires OS administrator rights, and moves Intel(R) AMT from "Pre Provisioned" state to "Post Provisioned" state. The control mode after this method is run will be "Client". This method also allows the configuring agent to sign the setup operation with a certificate. The certificate hash will be kept in the corresponding provisioning record
///
/// Required, IN -The encryption type of the network admin password. Only HTTP-MD5 is supported. The values are the same as the CIM_Account.UserPasswordEncryptionAlgorithm field
/// Required, IN -New network admin password to be set by this command, encrypted using the encryption type algorithm
/// Optional, IN -A random nonce value generated by the configuration agent.Required if the digital signature is provided.needs to be concatenated after the configuration nonce and signed together with the attached certificate's private key
/// Optional, IN -The certificate used to sign the setup operation. If the digital signature is provided, Intel(R) AMT will only validate the format of the certificate and that it was used to sign the nonces. If the operation is successful it will save the certificate hash in the corresponding provisioning record
/// Optional, IN -The signing algorithm used to sign the setup operation.
/// Optional, IN -A digital signature of the ConfigurationNonce and the McNonce concatenated. If this information is provided, AMT will validate the signature before accepting the command.
///
/// Legal values:
/// SUCCESS : 0
/// INTERNAL ERROR : 1
/// INVALID STATE : 2
/// INVALID PARAM : 3
/// METHOD DISABLED : 4
/// AUTH_FAILED : 5
/// FLASH_WRITE_LIMIT_EXCEEDED : 6
/// Reserved : ..
///
public virtual uint Setup(ushort? inNetAdminPassEncryptionType,string inNetworkAdminPassword,byte[] inMcNonce,byte[] inCertificate,ushort? inSigningAlgorithm,byte[] inDigitalSignature)
{
Setup_INPUT input = new Setup_INPUT(this.XmlNamespace);
if (inNetAdminPassEncryptionType.HasValue)
input.NetAdminPassEncryptionType=inNetAdminPassEncryptionType.Value;
if (inNetworkAdminPassword != null)
input.NetworkAdminPassword=inNetworkAdminPassword;
if (inMcNonce != null)
input.McNonce=inMcNonce;
if (inCertificate != null)
input.Certificate=inCertificate;
if (inSigningAlgorithm.HasValue)
input.SigningAlgorithm=inSigningAlgorithm.Value;
if (inDigitalSignature != null)
input.DigitalSignature=inDigitalSignature;
Setup_OUTPUT output = new Setup_OUTPUT();
uint returnValue = base.Invoke("Setup",input,out output);
return returnValue;
}
///
///Add a certificate to the provisioning certificate chain, to be used by AdminSetup or UpgradeClientToAdmin methods.
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
private class AddNextCertInChain_INPUT : CimParams
{
public AddNextCertInChain_INPUT(string ns) : base(ns)
{
}
///
/// Required, The next certificate to add to the chain
///
[CimField(false,true)]
public virtual byte[] NextCertificate
{
set
{
this.SetOrAddField("NextCertificate",Convert.ToBase64String(value));
}
}
///
/// Optional, true, when the current certificate is leaf certificate
///
[CimField(false,false)]
public virtual bool IsLeafCertificate
{
set
{
this.SetOrAddField("IsLeafCertificate",value.ToString().ToLower(CultureInfo.InvariantCulture));
}
}
///
/// Optional, true, when the current certificate is root. Marks end of the certificate chain
///
[CimField(false,false)]
public virtual bool IsRootCertificate
{
set
{
this.SetOrAddField("IsRootCertificate",value.ToString().ToLower(CultureInfo.InvariantCulture));
}
}
}
///
///Add a certificate to the provisioning certificate chain, to be used by AdminSetup or UpgradeClientToAdmin methods.
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
private class AddNextCertInChain_OUTPUT : CimParams
{
public AddNextCertInChain_OUTPUT() : base("")
{
}
}
///
///Add a certificate to the provisioning certificate chain, to be used by AdminSetup or UpgradeClientToAdmin methods.
///
/// Required, IN -The next certificate to add to the chain
/// Optional, IN -true, when the current certificate is leaf certificate
/// Optional, IN -true, when the current certificate is root. Marks end of the certificate chain
///
/// Legal values:
/// SUCCESS : 0
/// INVALID PARAM : 1
/// INTERNAL_ERROR : 2
/// INVALID STATE : 3
/// CERT_VERIFY_FAILED : 4
/// CERT_CHAIN_LENGTH_EXCEEDED : 5
/// Reserved : ..
///
public virtual uint AddNextCertInChain(byte[] inNextCertificate,bool? inIsLeafCertificate,bool? inIsRootCertificate)
{
AddNextCertInChain_INPUT input = new AddNextCertInChain_INPUT(this.XmlNamespace);
if (inNextCertificate != null)
input.NextCertificate=inNextCertificate;
if (inIsLeafCertificate.HasValue)
input.IsLeafCertificate=inIsLeafCertificate.Value;
if (inIsRootCertificate.HasValue)
input.IsRootCertificate=inIsRootCertificate.Value;
AddNextCertInChain_OUTPUT output = new AddNextCertInChain_OUTPUT();
uint returnValue = base.Invoke("AddNextCertInChain",input,out output);
return returnValue;
}
///
///Setup Intel(R) AMT from the local host, resulting in Admin Setup Mode. Requires OS administrator rights, and moves Intel(R) AMT from "Pre Provisioned" state to "Post Provisioned" state. The control mode after this method is run will be "Admin".
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
private class AdminSetup_INPUT : CimParams
{
public AdminSetup_INPUT(string ns) : base(ns)
{
}
///
/// Required, The encryption type of the network admin password. Only HTTP-MD5 is supported. The values are the same as the CIM_Account.UserPasswordEncryptionAlgorithm field
///
[CimField(false,true)]
public virtual ushort NetAdminPassEncryptionType
{
set
{
this.SetOrAddField("NetAdminPassEncryptionType",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Required, New network admin password to be set by this command, encrypted using the encryption type algorithm
///
[CimField(false,true)]
public virtual string NetworkAdminPassword
{
set
{
this.SetOrAddField("NetworkAdminPassword",value);
}
}
///
/// Optional, A random nonce value generated by the configuration agent.Required if the digital signature is provided.needs to be concatenated after the configuration nonce and signed together with the attached certificate's private key
///
[CimField(false,false)]
public virtual byte[] McNonce
{
set
{
this.SetOrAddField("McNonce",Convert.ToBase64String(value));
}
}
///
/// Optional, The signing algorithm used to sign the setup operation.
///
[CimField(false,false)]
public virtual ushort SigningAlgorithm
{
set
{
this.SetOrAddField("SigningAlgorithm",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Optional, A digital signature of the ConfigurationNonce and the McNonce concatenated. If this information is provided, AMT will validate the signature before accepting the command.
///
[CimField(false,false)]
public virtual byte[] DigitalSignature
{
set
{
this.SetOrAddField("DigitalSignature",Convert.ToBase64String(value));
}
}
}
///
///Setup Intel(R) AMT from the local host, resulting in Admin Setup Mode. Requires OS administrator rights, and moves Intel(R) AMT from "Pre Provisioned" state to "Post Provisioned" state. The control mode after this method is run will be "Admin".
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
private class AdminSetup_OUTPUT : CimParams
{
public AdminSetup_OUTPUT() : base("")
{
}
}
///
///Setup Intel(R) AMT from the local host, resulting in Admin Setup Mode. Requires OS administrator rights, and moves Intel(R) AMT from "Pre Provisioned" state to "Post Provisioned" state. The control mode after this method is run will be "Admin".
///
/// Required, IN -The encryption type of the network admin password. Only HTTP-MD5 is supported. The values are the same as the CIM_Account.UserPasswordEncryptionAlgorithm field
/// Required, IN -New network admin password to be set by this command, encrypted using the encryption type algorithm
/// Optional, IN -A random nonce value generated by the configuration agent.Required if the digital signature is provided.needs to be concatenated after the configuration nonce and signed together with the attached certificate's private key
/// Optional, IN -The signing algorithm used to sign the setup operation.
/// Optional, IN -A digital signature of the ConfigurationNonce and the McNonce concatenated. If this information is provided, AMT will validate the signature before accepting the command.
///
/// Legal values:
/// SUCCESS : 0
/// INTERNAL ERROR : 1
/// INVALID STATE : 2
/// INVALID PARAM : 3
/// Reserved0 : 4
/// AUTH_FAILED : 5
/// FLASH_WRITE_LIMIT_EXCEEDED : 6
/// UNSUPPORTED : 2066
///
public virtual uint AdminSetup(ushort? inNetAdminPassEncryptionType,string inNetworkAdminPassword,byte[] inMcNonce,ushort? inSigningAlgorithm,byte[] inDigitalSignature)
{
AdminSetup_INPUT input = new AdminSetup_INPUT(this.XmlNamespace);
if (inNetAdminPassEncryptionType.HasValue)
input.NetAdminPassEncryptionType=inNetAdminPassEncryptionType.Value;
if (inNetworkAdminPassword != null)
input.NetworkAdminPassword=inNetworkAdminPassword;
if (inMcNonce != null)
input.McNonce=inMcNonce;
if (inSigningAlgorithm.HasValue)
input.SigningAlgorithm=inSigningAlgorithm.Value;
if (inDigitalSignature != null)
input.DigitalSignature=inDigitalSignature;
AdminSetup_OUTPUT output = new AdminSetup_OUTPUT();
uint returnValue = base.Invoke("AdminSetup",input,out output);
return returnValue;
}
///
///Upgrade Intel(R) AMT from Client to Admin Control Mode. Requires AMT administrator rights, and that the machine has been previously provisioned in Client control mode.
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
private class UpgradeClientToAdmin_INPUT : CimParams
{
public UpgradeClientToAdmin_INPUT(string ns) : base(ns)
{
}
///
/// Optional, A random nonce value generated by the configuration agent.Required if the digital signature is provided.needs to be concatenated after the configuration nonce and signed together with the attached certificate's private key
///
[CimField(false,false)]
public virtual byte[] McNonce
{
set
{
this.SetOrAddField("McNonce",Convert.ToBase64String(value));
}
}
///
/// Optional, The signing algorithm used to sign the setup operation.
///
[CimField(false,false)]
public virtual ushort SigningAlgorithm
{
set
{
this.SetOrAddField("SigningAlgorithm",value.ToString(CultureInfo.InvariantCulture));
}
}
///
/// Optional, A digital signature of the ConfigurationNonce and the McNonce concatenated.If this information is provided, AMT will validate the signature before accepting the command.
///
[CimField(false,false)]
public virtual byte[] DigitalSignature
{
set
{
this.SetOrAddField("DigitalSignature",Convert.ToBase64String(value));
}
}
}
///
///Upgrade Intel(R) AMT from Client to Admin Control Mode. Requires AMT administrator rights, and that the machine has been previously provisioned in Client control mode.
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
private class UpgradeClientToAdmin_OUTPUT : CimParams
{
public UpgradeClientToAdmin_OUTPUT() : base("")
{
}
}
///
///Upgrade Intel(R) AMT from Client to Admin Control Mode. Requires AMT administrator rights, and that the machine has been previously provisioned in Client control mode.
///
/// Optional, IN -A random nonce value generated by the configuration agent.Required if the digital signature is provided.needs to be concatenated after the configuration nonce and signed together with the attached certificate's private key
/// Optional, IN -The signing algorithm used to sign the setup operation.
/// Optional, IN -A digital signature of the ConfigurationNonce and the McNonce concatenated.If this information is provided, AMT will validate the signature before accepting the command.
///
/// Legal values:
/// SUCCESS : 0
/// INTERNAL ERROR : 1
/// INVALID STATE : 2
/// INVALID PARAM : 3
/// Reserved : 4
/// AUTH_FAILED : 5
/// FLASH_WRITE_LIMIT_EXCEEDED : 6
/// Reserved : ..
///
public virtual uint UpgradeClientToAdmin(byte[] inMcNonce,ushort? inSigningAlgorithm,byte[] inDigitalSignature)
{
UpgradeClientToAdmin_INPUT input = new UpgradeClientToAdmin_INPUT(this.XmlNamespace);
if (inMcNonce != null)
input.McNonce=inMcNonce;
if (inSigningAlgorithm.HasValue)
input.SigningAlgorithm=inSigningAlgorithm.Value;
if (inDigitalSignature != null)
input.DigitalSignature=inDigitalSignature;
UpgradeClientToAdmin_OUTPUT output = new UpgradeClientToAdmin_OUTPUT();
uint returnValue = base.Invoke("UpgradeClientToAdmin",input,out output);
return returnValue;
}
///
///Do not allow provisioning the machine in Client Control mode.
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
private class DisableClientControlMode_INPUT : CimParams
{
public DisableClientControlMode_INPUT(string ns) : base(ns)
{
}
}
///
///Do not allow provisioning the machine in Client Control mode.
///
[System.SerializableAttribute()]
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/ips-schema/1/IPS_HostBasedSetupService", IsNullable=false)]
private class DisableClientControlMode_OUTPUT : CimParams
{
public DisableClientControlMode_OUTPUT() : base("")
{
}
}
///
///Do not allow provisioning the machine in Client Control mode.
///
///
/// Legal values:
/// SUCCESS : 0
/// INTERNAL ERROR : 1
/// Reserved : ..
///
public virtual uint DisableClientControlMode()
{
DisableClientControlMode_INPUT input = new DisableClientControlMode_INPUT(this.XmlNamespace);
DisableClientControlMode_OUTPUT output = new DisableClientControlMode_OUTPUT();
uint returnValue = base.Invoke("DisableClientControlMode",input,out output);
return returnValue;
}
///
/// Enumerate instances of IPS_HostBasedSetupService class at an endpoint.
///
/// WS-Management client
/// Keys for selecting the instances
/// Collection of IPS_HostBasedSetupService objects
public static new Collection Enumerate(IWSManClient client, CimBase.CimKeys cimKeys)
{
List ret = CimBase.Enumerate(client, cimKeys);
return new Collection(ret);
}
///
/// Enumerate instances of IPS_HostBasedSetupService class at an endpoint.
///
/// WS-Management client
/// Collection of IPS_HostBasedSetupService objects
public static new Collection Enumerate(IWSManClient client)
{
List ret = CimBase.Enumerate(client);
return new Collection(ret);
}
///
/// Delete the instance of IPS_HostBasedSetupService if it is singular.
/// Note: This method will succeed only if a single instance of the class exists.
///
/// WS-Management client
public static new void Delete(IWSManClient client)
{
CimBase.Delete(client);
}
///
/// Represents the keys of the IPS_HostBasedSetupService class.
///
public new class CimKeys : CIM_SecurityService.CimKeys
{
}
}
}