683 lines
29 KiB
C#
683 lines
29 KiB
C#
//----------------------------------------------------------------------------
|
|
//
|
|
// Copyright (c) Intel Corporation, 2003 - 2012 All Rights Reserved.
|
|
//
|
|
// File: AMT_WiFiPortConfigurationService.cs
|
|
//
|
|
// Contents: AMT_WiFiPortConfigurationService provides management of the Wi-Fi network interfaces associated with a Wi-Fi network port.
|
|
// This file was automatically generated from AMT_WiFiPortConfigurationService.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
|
|
{
|
|
/// <summary>
|
|
///AMT_WiFiPortConfigurationService provides management of the Wi-Fi network interfaces associated with a Wi-Fi network port.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService")]
|
|
[System.Xml.Serialization.XmlRootAttribute("AMT_WiFiPortConfigurationService", Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
public class AMT_WiFiPortConfigurationService : CIM_NetworkPortConfigurationService
|
|
{
|
|
/// <summary>
|
|
/// Default constructor.
|
|
/// </summary>
|
|
public AMT_WiFiPortConfigurationService() :base()
|
|
{
|
|
}
|
|
/// <summary>
|
|
/// Constructor that recieves an xml string for deserialization.
|
|
/// </summary>
|
|
/// <param name="xml">xml string to deserialize</param>
|
|
public AMT_WiFiPortConfigurationService(string xml): base((IWSManClient)null)
|
|
{
|
|
this.Deserialize(xml);
|
|
}
|
|
/// <summary>
|
|
/// Constructor which recieves a Ws-Management client object.
|
|
/// </summary>
|
|
/// <param name="client">Ws-Management client</param>
|
|
public AMT_WiFiPortConfigurationService(IWSManClient client): base(client)
|
|
{
|
|
}
|
|
/// <summary>
|
|
/// Remove LastConnectedSsidUnderMeControl field.
|
|
/// Note: This method will succeed only if this field is optional in the concrete object.
|
|
/// </summary>
|
|
public virtual void RemoveLastConnectedSsidUnderMeControl()
|
|
{
|
|
RemoveField("LastConnectedSsidUnderMeControl");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Is true if the field LastConnectedSsidUnderMeControl exists in the current object,
|
|
/// otherwise is false.
|
|
/// </summary>
|
|
public virtual bool LastConnectedSsidUnderMeControlExist
|
|
{
|
|
get
|
|
{
|
|
return ContainsField("LastConnectedSsidUnderMeControl");
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Optional, The SSID of the Wireless network that was last connected in ME Control state
|
|
/// </summary>
|
|
[CimField(false, false)]
|
|
public virtual string LastConnectedSsidUnderMeControl
|
|
{
|
|
get
|
|
{
|
|
return this.GetField("LastConnectedSsidUnderMeControl")[0];
|
|
}
|
|
set
|
|
{
|
|
this.SetOrAddField("LastConnectedSsidUnderMeControl",value);
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Remove NoHostCsmeSoftwarePolicy field.
|
|
/// Note: This method will succeed only if this field is optional in the concrete object.
|
|
/// </summary>
|
|
public virtual void RemoveNoHostCsmeSoftwarePolicy()
|
|
{
|
|
RemoveField("NoHostCsmeSoftwarePolicy");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Is true if the field NoHostCsmeSoftwarePolicy exists in the current object,
|
|
/// otherwise is false.
|
|
/// </summary>
|
|
public virtual bool NoHostCsmeSoftwarePolicyExist
|
|
{
|
|
get
|
|
{
|
|
return ContainsField("NoHostCsmeSoftwarePolicy");
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Optional, Setting Policy regarding no HOST CSME software.
|
|
/// </summary>
|
|
[CimField(false, false)]
|
|
public virtual uint NoHostCsmeSoftwarePolicy
|
|
{
|
|
get
|
|
{
|
|
return uint.Parse(this["NoHostCsmeSoftwarePolicy"][0], CultureInfo.InvariantCulture);
|
|
}
|
|
set
|
|
{
|
|
this.SetOrAddField("NoHostCsmeSoftwarePolicy",value.ToString(CultureInfo.InvariantCulture));
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Remove UEFIWiFiProfileShareEnabled field.
|
|
/// Note: This method will succeed only if this field is optional in the concrete object.
|
|
/// </summary>
|
|
public virtual void RemoveUEFIWiFiProfileShareEnabled()
|
|
{
|
|
RemoveField("UEFIWiFiProfileShareEnabled");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Is true if the field UEFIWiFiProfileShareEnabled exists in the current object,
|
|
/// otherwise is false.
|
|
/// </summary>
|
|
public virtual bool UEFIWiFiProfileShareEnabledExist
|
|
{
|
|
get
|
|
{
|
|
return ContainsField("UEFIWiFiProfileShareEnabled");
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Optional, When true, WiFi profile share with UEFI is allowed
|
|
/// </summary>
|
|
[CimField(false, false)]
|
|
public virtual bool UEFIWiFiProfileShareEnabled
|
|
{
|
|
get
|
|
{
|
|
return bool.Parse(this["UEFIWiFiProfileShareEnabled"][0]);
|
|
}
|
|
set
|
|
{
|
|
this.SetOrAddField("UEFIWiFiProfileShareEnabled",value.ToString().ToLower(CultureInfo.InvariantCulture));
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Remove localProfileSynchronizationEnabled field.
|
|
/// Note: This method will succeed only if this field is optional in the concrete object.
|
|
/// </summary>
|
|
public virtual void RemovelocalProfileSynchronizationEnabled()
|
|
{
|
|
RemoveField("localProfileSynchronizationEnabled");
|
|
}
|
|
|
|
/// <summary>
|
|
/// Is true if the field localProfileSynchronizationEnabled exists in the current object,
|
|
/// otherwise is false.
|
|
/// </summary>
|
|
public virtual bool localProfileSynchronizationEnabledExist
|
|
{
|
|
get
|
|
{
|
|
return ContainsField("localProfileSynchronizationEnabled");
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// Optional, Administrator's policy regarding enablement of local profile synchronization.Remote profile synchronization is always enabled.
|
|
/// </summary>
|
|
[CimField(false, false)]
|
|
public virtual uint localProfileSynchronizationEnabled
|
|
{
|
|
get
|
|
{
|
|
return uint.Parse(this["localProfileSynchronizationEnabled"][0], CultureInfo.InvariantCulture);
|
|
}
|
|
set
|
|
{
|
|
this.SetOrAddField("localProfileSynchronizationEnabled",value.ToString(CultureInfo.InvariantCulture));
|
|
}
|
|
}
|
|
/// <summary>
|
|
///Atomically creates an instance of CIM_WifiEndpointSettings from the embedded instance parameter and optionally an instance of CIM_IEEE8021xSettings from the embedded instance parameter (if provided), associates the CIM_WiFiEndpointSettings instance with the referenced instance of CIM_WiFiEndpoint using an instance of CIM_ElementSettingData optionally associates the newly created or referenced by parameter instance of CIM_IEEE8021xSettings with the instance of CIM_WiFiEndpointSettings using an instance of CIM_ConcreteComponent and optionally associates the referenced instance of AMT_PublicKeyCertificate (if provided) with the instance of CIM_IEEE8021xSettings (if provided) using an instance of CIM_CredentialContext.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
private class AddWiFiSettings_INPUT : CimParams
|
|
{
|
|
public AddWiFiSettings_INPUT(string ns) : base(ns)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Required, The endpoint to associate the new settings with
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CimReference WiFiEndpoint
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("WiFiEndpoint",value.Serialize(false));
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Required, a string encoded embedded instance of CIM_WiFiEndpointSettings. In a case of ambiguity (e.g. 2 contradictory properties were supplied), a valid profile will be created according to an internal precedence.
|
|
/// </summary>
|
|
[CimField(false,true)]
|
|
public virtual CIM_WiFiEndpointSettings WiFiEndpointSettingsInput
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("WiFiEndpointSettingsInput",value.SerializeInner());
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Optional, a string encoded embedded instance of CIM_IEEE8021xSettings. In a case of ambiguity (e.g. 2 contradictory properties were supplied), a valid profile will be created according to an internal precedence.
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CIM_IEEE8021xSettings IEEE8021xSettingsInput
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("IEEE8021xSettingsInput",value.SerializeInner());
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Optional, a Reference to an AMT_PublicKeyCertificate, which represents the client certificate
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CimReference ClientCredential
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("ClientCredential",value.Serialize(false));
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Optional, a Reference to an AMT_PublicKeyCertificate, which represents the CA certificate
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CimReference CACredential
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("CACredential",value.Serialize(false));
|
|
}
|
|
}
|
|
}
|
|
/// <summary>
|
|
///Atomically creates an instance of CIM_WifiEndpointSettings from the embedded instance parameter and optionally an instance of CIM_IEEE8021xSettings from the embedded instance parameter (if provided), associates the CIM_WiFiEndpointSettings instance with the referenced instance of CIM_WiFiEndpoint using an instance of CIM_ElementSettingData optionally associates the newly created or referenced by parameter instance of CIM_IEEE8021xSettings with the instance of CIM_WiFiEndpointSettings using an instance of CIM_ConcreteComponent and optionally associates the referenced instance of AMT_PublicKeyCertificate (if provided) with the instance of CIM_IEEE8021xSettings (if provided) using an instance of CIM_CredentialContext.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
private class AddWiFiSettings_OUTPUT : CimParams
|
|
{
|
|
public AddWiFiSettings_OUTPUT() : base("")
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Optional, A reference to a new CIM_WiFiEndpointSettings instance that shall be created by the method using the property values in WiFiEndpointSettingsInput.
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CimReference WiFiEndpointSettings
|
|
{
|
|
get
|
|
{
|
|
string innerXML = this.GetField("WiFiEndpointSettings")[0];
|
|
CimReference epr = new CimReference("WiFiEndpointSettings", "http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", innerXML);
|
|
return epr;
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Optional, A reference to a new CIM_IEEE8021xSettings instance that shall be created by the method using the property values in IEEE8021xSettingsInput
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CimReference IEEE8021xSettings
|
|
{
|
|
get
|
|
{
|
|
string innerXML = this.GetField("IEEE8021xSettings")[0];
|
|
CimReference epr = new CimReference("IEEE8021xSettings", "http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", innerXML);
|
|
return epr;
|
|
}
|
|
}
|
|
}
|
|
/// <summary>
|
|
///Atomically creates an instance of CIM_WifiEndpointSettings from the embedded instance parameter and optionally an instance of CIM_IEEE8021xSettings from the embedded instance parameter (if provided), associates the CIM_WiFiEndpointSettings instance with the referenced instance of CIM_WiFiEndpoint using an instance of CIM_ElementSettingData optionally associates the newly created or referenced by parameter instance of CIM_IEEE8021xSettings with the instance of CIM_WiFiEndpointSettings using an instance of CIM_ConcreteComponent and optionally associates the referenced instance of AMT_PublicKeyCertificate (if provided) with the instance of CIM_IEEE8021xSettings (if provided) using an instance of CIM_CredentialContext.
|
|
/// </summary>
|
|
/// <param name="inWiFiEndpoint">Required, IN -The endpoint to associate the new settings with</param>
|
|
/// <param name="inWiFiEndpointSettingsInput">Required, IN -a string encoded embedded instance of CIM_WiFiEndpointSettings. In a case of ambiguity (e.g. 2 contradictory properties were supplied), a valid profile will be created according to an internal precedence.</param>
|
|
/// <param name="inIEEE8021xSettingsInput">Optional, IN -a string encoded embedded instance of CIM_IEEE8021xSettings. In a case of ambiguity (e.g. 2 contradictory properties were supplied), a valid profile will be created according to an internal precedence.</param>
|
|
/// <param name="inClientCredential">Optional, IN -a Reference to an AMT_PublicKeyCertificate, which represents the client certificate</param>
|
|
/// <param name="inCACredential">Optional, IN -a Reference to an AMT_PublicKeyCertificate, which represents the CA certificate</param>
|
|
/// <param name="outWiFiEndpointSettings">OUT - A reference to a new CIM_WiFiEndpointSettings instance that shall be created by the method using the property values in WiFiEndpointSettingsInput.</param>
|
|
/// <param name="outIEEE8021xSettings">OUT - A reference to a new CIM_IEEE8021xSettings instance that shall be created by the method using the property values in IEEE8021xSettingsInput</param>
|
|
/// <returns>
|
|
/// Legal values:
|
|
/// Completed with No Error : 0
|
|
/// Not Supported : 1
|
|
/// Failed : 2
|
|
/// Invalid Parameter : 3
|
|
/// Invalid Reference : 4
|
|
/// Method Reserved : ..
|
|
/// Vendor Specific : 32768..65535
|
|
/// </returns>
|
|
public virtual uint AddWiFiSettings(CimReference inWiFiEndpoint,CIM_WiFiEndpointSettings inWiFiEndpointSettingsInput,CIM_IEEE8021xSettings inIEEE8021xSettingsInput,CimReference inClientCredential,CimReference inCACredential,out CimReference outWiFiEndpointSettings,out CimReference outIEEE8021xSettings)
|
|
{
|
|
AddWiFiSettings_INPUT input = new AddWiFiSettings_INPUT(this.XmlNamespace);
|
|
if (inWiFiEndpoint != null)
|
|
input.WiFiEndpoint=inWiFiEndpoint;
|
|
if (inWiFiEndpointSettingsInput != null)
|
|
input.WiFiEndpointSettingsInput=inWiFiEndpointSettingsInput;
|
|
if (inIEEE8021xSettingsInput != null)
|
|
input.IEEE8021xSettingsInput=inIEEE8021xSettingsInput;
|
|
if (inClientCredential != null)
|
|
input.ClientCredential=inClientCredential;
|
|
if (inCACredential != null)
|
|
input.CACredential=inCACredential;
|
|
AddWiFiSettings_OUTPUT output = new AddWiFiSettings_OUTPUT();
|
|
uint returnValue = base.Invoke("AddWiFiSettings",input,out output);
|
|
outWiFiEndpointSettings=null;
|
|
outIEEE8021xSettings=null;
|
|
if (returnValue == 0)
|
|
{
|
|
if (output.ContainsField("WiFiEndpointSettings"))
|
|
outWiFiEndpointSettings = output.WiFiEndpointSettings;
|
|
if (output.ContainsField("IEEE8021xSettings"))
|
|
outIEEE8021xSettings = output.IEEE8021xSettings;
|
|
}
|
|
return returnValue;
|
|
}
|
|
/// <summary>
|
|
///Atomically updates the referenced instance of CIM_WifiEndpointSettings from the embedded instance of CIM_WiFiEndPointSettings and updates the referenced instance of CIM_IEEE8021xSettings from the embedded instance of CIM_IEEE8021xSettings.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
private class UpdateWiFiSettings_INPUT : CimParams
|
|
{
|
|
public UpdateWiFiSettings_INPUT(string ns) : base(ns)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Required, The endpoint settings to update
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CimReference WiFiEndpointSettings
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("WiFiEndpointSettings",value.Serialize(false));
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Required, a string encoded embedded instance of update parameters of CIM_WiFiEndpointSettings. Properties that aren't being changed should also be supplied. In a case of ambiguity (e.g. 2 contradictory properties were supplied), a valid profile will be created according to an internal precedence.
|
|
/// </summary>
|
|
[CimField(false,true)]
|
|
public virtual CIM_WiFiEndpointSettings WiFiEndpointSettingsInput
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("WiFiEndpointSettingsInput",value.SerializeInner());
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Optional, a string encoded embedded instance of update parameters of CIM_IEEE8021xSettings. Properties that aren't being changed should also be supplied. In a case of ambiguity (e.g. 2 contradictory properties were supplied), a valid profile will be created according to an internal precedence.
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CIM_IEEE8021xSettings IEEE8021xSettingsInput
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("IEEE8021xSettingsInput",value.SerializeInner());
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Optional, a Reference to an AMT_PublicKeyCertificate, which represents the client certificate
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CimReference ClientCredential
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("ClientCredential",value.Serialize(false));
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// Optional, a Reference to an AMT_PublicKeyCertificate, which represents the CA certificate
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CimReference CACredential
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("CACredential",value.Serialize(false));
|
|
}
|
|
}
|
|
}
|
|
/// <summary>
|
|
///Atomically updates the referenced instance of CIM_WifiEndpointSettings from the embedded instance of CIM_WiFiEndPointSettings and updates the referenced instance of CIM_IEEE8021xSettings from the embedded instance of CIM_IEEE8021xSettings.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
private class UpdateWiFiSettings_OUTPUT : CimParams
|
|
{
|
|
public UpdateWiFiSettings_OUTPUT() : base("")
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Optional, A reference to the CIM_IEEE8021xSettings instance that shall be updated (or created) by the method using the property values in IEEE8021xSettingsInput
|
|
/// </summary>
|
|
[CimField(false,false)]
|
|
public virtual CimReference IEEE8021xSettings
|
|
{
|
|
get
|
|
{
|
|
string innerXML = this.GetField("IEEE8021xSettings")[0];
|
|
CimReference epr = new CimReference("IEEE8021xSettings", "http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", innerXML);
|
|
return epr;
|
|
}
|
|
}
|
|
}
|
|
/// <summary>
|
|
///Atomically updates the referenced instance of CIM_WifiEndpointSettings from the embedded instance of CIM_WiFiEndPointSettings and updates the referenced instance of CIM_IEEE8021xSettings from the embedded instance of CIM_IEEE8021xSettings.
|
|
/// </summary>
|
|
/// <param name="inWiFiEndpointSettings">Required, IN -The endpoint settings to update</param>
|
|
/// <param name="inWiFiEndpointSettingsInput">Required, IN -a string encoded embedded instance of update parameters of CIM_WiFiEndpointSettings. Properties that aren't being changed should also be supplied. In a case of ambiguity (e.g. 2 contradictory properties were supplied), a valid profile will be created according to an internal precedence.</param>
|
|
/// <param name="inIEEE8021xSettingsInput">Optional, IN -a string encoded embedded instance of update parameters of CIM_IEEE8021xSettings. Properties that aren't being changed should also be supplied. In a case of ambiguity (e.g. 2 contradictory properties were supplied), a valid profile will be created according to an internal precedence.</param>
|
|
/// <param name="inClientCredential">Optional, IN -a Reference to an AMT_PublicKeyCertificate, which represents the client certificate</param>
|
|
/// <param name="inCACredential">Optional, IN -a Reference to an AMT_PublicKeyCertificate, which represents the CA certificate</param>
|
|
/// <param name="outIEEE8021xSettings">OUT - A reference to the CIM_IEEE8021xSettings instance that shall be updated (or created) by the method using the property values in IEEE8021xSettingsInput</param>
|
|
/// <returns>
|
|
/// Legal values:
|
|
/// Completed with No Error : 0
|
|
/// Not Supported : 1
|
|
/// Failed : 2
|
|
/// Invalid Parameter : 3
|
|
/// Invalid Reference : 4
|
|
/// Method Reserved : ..
|
|
/// Vendor Specific : 32768..65535
|
|
/// </returns>
|
|
public virtual uint UpdateWiFiSettings(CimReference inWiFiEndpointSettings,CIM_WiFiEndpointSettings inWiFiEndpointSettingsInput,CIM_IEEE8021xSettings inIEEE8021xSettingsInput,CimReference inClientCredential,CimReference inCACredential,out CimReference outIEEE8021xSettings)
|
|
{
|
|
UpdateWiFiSettings_INPUT input = new UpdateWiFiSettings_INPUT(this.XmlNamespace);
|
|
if (inWiFiEndpointSettings != null)
|
|
input.WiFiEndpointSettings=inWiFiEndpointSettings;
|
|
if (inWiFiEndpointSettingsInput != null)
|
|
input.WiFiEndpointSettingsInput=inWiFiEndpointSettingsInput;
|
|
if (inIEEE8021xSettingsInput != null)
|
|
input.IEEE8021xSettingsInput=inIEEE8021xSettingsInput;
|
|
if (inClientCredential != null)
|
|
input.ClientCredential=inClientCredential;
|
|
if (inCACredential != null)
|
|
input.CACredential=inCACredential;
|
|
UpdateWiFiSettings_OUTPUT output = new UpdateWiFiSettings_OUTPUT();
|
|
uint returnValue = base.Invoke("UpdateWiFiSettings",input,out output);
|
|
outIEEE8021xSettings=null;
|
|
if (returnValue == 0)
|
|
{
|
|
if (output.ContainsField("IEEE8021xSettings"))
|
|
outIEEE8021xSettings = output.IEEE8021xSettings;
|
|
}
|
|
return returnValue;
|
|
}
|
|
/// <summary>
|
|
///Deletes all the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were created by AddWiFiSettings requests. Also deletes all the associations that reference the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were deleted.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
private class DeleteAllITProfiles_INPUT : CimParams
|
|
{
|
|
public DeleteAllITProfiles_INPUT(string ns) : base(ns)
|
|
{
|
|
}
|
|
|
|
}
|
|
/// <summary>
|
|
///Deletes all the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were created by AddWiFiSettings requests. Also deletes all the associations that reference the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were deleted.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
private class DeleteAllITProfiles_OUTPUT : CimParams
|
|
{
|
|
public DeleteAllITProfiles_OUTPUT() : base("")
|
|
{
|
|
}
|
|
|
|
}
|
|
/// <summary>
|
|
///Deletes all the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were created by AddWiFiSettings requests. Also deletes all the associations that reference the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were deleted.
|
|
/// </summary>
|
|
/// <returns>
|
|
/// Legal values:
|
|
/// Completed with No Error : 0
|
|
/// Not Supported : 1
|
|
/// Failed : 2
|
|
/// Invalid Parameter : 3
|
|
/// Invalid Reference : 4
|
|
/// Method Reserved : ..
|
|
/// Vendor Specific : 32768..65535
|
|
/// </returns>
|
|
public virtual uint DeleteAllITProfiles()
|
|
{
|
|
DeleteAllITProfiles_INPUT input = new DeleteAllITProfiles_INPUT(this.XmlNamespace);
|
|
DeleteAllITProfiles_OUTPUT output = new DeleteAllITProfiles_OUTPUT();
|
|
uint returnValue = base.Invoke("DeleteAllITProfiles",input,out output);
|
|
return returnValue;
|
|
}
|
|
/// <summary>
|
|
///Deletes all the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were created by local user applications. Also deletes all the associations that reference the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were deleted.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
private class DeleteAllUserProfiles_INPUT : CimParams
|
|
{
|
|
public DeleteAllUserProfiles_INPUT(string ns) : base(ns)
|
|
{
|
|
}
|
|
|
|
}
|
|
/// <summary>
|
|
///Deletes all the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were created by local user applications. Also deletes all the associations that reference the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were deleted.
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
private class DeleteAllUserProfiles_OUTPUT : CimParams
|
|
{
|
|
public DeleteAllUserProfiles_OUTPUT() : base("")
|
|
{
|
|
}
|
|
|
|
}
|
|
/// <summary>
|
|
///Deletes all the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were created by local user applications. Also deletes all the associations that reference the instances of CIM_WiFiEndpointSettings and CIM_IEEE8021xSettings that were deleted.
|
|
/// </summary>
|
|
/// <returns>
|
|
/// Legal values:
|
|
/// Completed with No Error : 0
|
|
/// Not Supported : 1
|
|
/// Failed : 2
|
|
/// Invalid Parameter : 3
|
|
/// Invalid Reference : 4
|
|
/// Method Reserved : ..
|
|
/// Vendor Specific : 32768..65535
|
|
/// </returns>
|
|
public virtual uint DeleteAllUserProfiles()
|
|
{
|
|
DeleteAllUserProfiles_INPUT input = new DeleteAllUserProfiles_INPUT(this.XmlNamespace);
|
|
DeleteAllUserProfiles_OUTPUT output = new DeleteAllUserProfiles_OUTPUT();
|
|
uint returnValue = base.Invoke("DeleteAllUserProfiles",input,out output);
|
|
return returnValue;
|
|
}
|
|
/// <summary>
|
|
///Notifies Intel(R) AMT WLAN that SW RF Kill is due to Host Adapter Switching
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
private class SetApplicationRequestedRfKill_INPUT : CimParams
|
|
{
|
|
public SetApplicationRequestedRfKill_INPUT(string ns) : base(ns)
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Required, Indicates the adapter switching state
|
|
/// </summary>
|
|
[CimField(false,true)]
|
|
public virtual bool ApplicationRequestedRfKill
|
|
{
|
|
set
|
|
{
|
|
this.SetOrAddField("ApplicationRequestedRfKill",value.ToString().ToLower(CultureInfo.InvariantCulture));
|
|
}
|
|
}
|
|
}
|
|
/// <summary>
|
|
///Notifies Intel(R) AMT WLAN that SW RF Kill is due to Host Adapter Switching
|
|
/// </summary>
|
|
[System.SerializableAttribute()]
|
|
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)]
|
|
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://intel.com/wbem/wscim/1/amt-schema/1/AMT_WiFiPortConfigurationService", IsNullable=false)]
|
|
private class SetApplicationRequestedRfKill_OUTPUT : CimParams
|
|
{
|
|
public SetApplicationRequestedRfKill_OUTPUT() : base("")
|
|
{
|
|
}
|
|
|
|
}
|
|
/// <summary>
|
|
///Notifies Intel(R) AMT WLAN that SW RF Kill is due to Host Adapter Switching
|
|
/// </summary>
|
|
/// <param name="inApplicationRequestedRfKill">Required, IN -Indicates the adapter switching state</param>
|
|
/// <returns>
|
|
/// Legal values:
|
|
/// PT_STATUS_SUCCESS : 0
|
|
/// PT_STATUS_INTERNAL_ERROR : 1
|
|
/// PT_STATUS_NOT_SUPPORTED : 2
|
|
/// RESERVED : 3..
|
|
/// </returns>
|
|
public virtual uint SetApplicationRequestedRfKill(bool? inApplicationRequestedRfKill)
|
|
{
|
|
SetApplicationRequestedRfKill_INPUT input = new SetApplicationRequestedRfKill_INPUT(this.XmlNamespace);
|
|
if (inApplicationRequestedRfKill.HasValue)
|
|
input.ApplicationRequestedRfKill=inApplicationRequestedRfKill.Value;
|
|
SetApplicationRequestedRfKill_OUTPUT output = new SetApplicationRequestedRfKill_OUTPUT();
|
|
uint returnValue = base.Invoke("SetApplicationRequestedRfKill",input,out output);
|
|
return returnValue;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Enumerate instances of AMT_WiFiPortConfigurationService class at an endpoint.
|
|
/// </summary>
|
|
/// <param name="client">WS-Management client</param>
|
|
/// <param name="cimKeys">Keys for selecting the instances</param>
|
|
/// <returns>Collection of AMT_WiFiPortConfigurationService objects</returns>
|
|
public static new Collection<AMT_WiFiPortConfigurationService> Enumerate(IWSManClient client, CimBase.CimKeys cimKeys)
|
|
{
|
|
List<AMT_WiFiPortConfigurationService> ret = CimBase.Enumerate<AMT_WiFiPortConfigurationService>(client, cimKeys);
|
|
return new Collection<AMT_WiFiPortConfigurationService>(ret);
|
|
}
|
|
|
|
/// <summary>
|
|
/// Enumerate instances of AMT_WiFiPortConfigurationService class at an endpoint.
|
|
/// </summary>
|
|
/// <param name="client">WS-Management client</param>
|
|
/// <returns>Collection of AMT_WiFiPortConfigurationService objects</returns>
|
|
public static new Collection<AMT_WiFiPortConfigurationService> Enumerate(IWSManClient client)
|
|
{
|
|
List<AMT_WiFiPortConfigurationService> ret = CimBase.Enumerate<AMT_WiFiPortConfigurationService>(client);
|
|
return new Collection<AMT_WiFiPortConfigurationService>(ret);
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// Delete the instance of AMT_WiFiPortConfigurationService if it is singular.
|
|
/// Note: This method will succeed only if a single instance of the class exists.
|
|
/// </summary>
|
|
/// <param name="client">WS-Management client</param>
|
|
public static new void Delete(IWSManClient client)
|
|
{
|
|
CimBase.Delete<AMT_WiFiPortConfigurationService>(client);
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
/// Represents the keys of the AMT_WiFiPortConfigurationService class.
|
|
/// </summary>
|
|
|
|
public new class CimKeys : CIM_NetworkPortConfigurationService.CimKeys
|
|
{
|
|
}
|
|
|
|
}
|
|
}
|
|
|