diff --git a/src/Microsoft.WSMan.Management/ConfigProvider.cs b/src/Microsoft.WSMan.Management/ConfigProvider.cs
index 47ac71b11..0837f3678 100644
--- a/src/Microsoft.WSMan.Management/ConfigProvider.cs
+++ b/src/Microsoft.WSMan.Management/ConfigProvider.cs
@@ -44,7 +44,7 @@ namespace Microsoft.WSMan.Management
///
/// Object contains the cache of the enumerate results for the cmdlet to execute.
///
- Dictionary enumarateMapping = new Dictionary();
+ Dictionary enumerateMapping = new Dictionary();
///
/// Mapping of ResourceURI with the XML returned by the Get call.
@@ -406,7 +406,7 @@ namespace Microsoft.WSMan.Management
if (xmlListeners != null)
{
Hashtable KeyCache, ListenerObjCache;
- ProcessListernerObjects(xmlListeners, out ListenerObjCache, out KeyCache);
+ ProcessListenerObjects(xmlListeners, out ListenerObjCache, out KeyCache);
if (ListenerObjCache.Count > 0)
{
return true;
@@ -1448,7 +1448,7 @@ namespace Microsoft.WSMan.Management
if (xmlListeners != null)
{
Hashtable KeyCache, ListenerObjCache;
- ProcessListernerObjects(xmlListeners, out ListenerObjCache, out KeyCache);
+ ProcessListenerObjects(xmlListeners, out ListenerObjCache, out KeyCache);
if (KeyCache.Contains(childname))
{
return true;
@@ -1962,7 +1962,7 @@ namespace Microsoft.WSMan.Management
}
else if (ContainerListenerOrCertMapping.Equals(WSManStringLiterals.containerListener))
{
- ProcessListernerObjects(xmlResource, out CCache, out kCache);
+ ProcessListenerObjects(xmlResource, out CCache, out kCache);
}
if (CCache != null && CCache.Count > 0)
{
@@ -2292,7 +2292,7 @@ namespace Microsoft.WSMan.Management
if (ResourceURI.EndsWith(WSManStringLiterals.containerListener, StringComparison.OrdinalIgnoreCase))
{
- ProcessListernerObjects(xmlResource, out objcache, out Keyscache);
+ ProcessListenerObjects(xmlResource, out objcache, out Keyscache);
}
else if (ResourceURI.EndsWith(WSManStringLiterals.containerCertMapping, StringComparison.OrdinalIgnoreCase))
{
@@ -2677,7 +2677,7 @@ namespace Microsoft.WSMan.Management
{
XmlDocument xmlEnumResources = null;
- if (!this.enumarateMapping.TryGetValue(ResourceURI, out xmlEnumResources))
+ if (!this.enumerateMapping.TryGetValue(ResourceURI, out xmlEnumResources))
{
try
{
@@ -2696,7 +2696,7 @@ namespace Microsoft.WSMan.Management
xmlEnumResources = new XmlDocument();
strXmlValue = "" + strXmlValue + "";
xmlEnumResources.LoadXml(strXmlValue);
- this.enumarateMapping.Add(ResourceURI, xmlEnumResources);
+ this.enumerateMapping.Add(ResourceURI, xmlEnumResources);
}
}
@@ -3604,7 +3604,7 @@ namespace Microsoft.WSMan.Management
}
else if (ListenerOrCerMapping.Equals(WSManStringLiterals.containerListener))
{
- ProcessListernerObjects(xmlResource, out Objcache, out Keyscache);
+ ProcessListenerObjects(xmlResource, out Objcache, out Keyscache);
}
else
{ return; }
@@ -3665,7 +3665,7 @@ namespace Microsoft.WSMan.Management
Hashtable Objcache, Keyscache;
if (ContainerListenerOrClientCert.Equals(WSManStringLiterals.containerListener, StringComparison.OrdinalIgnoreCase))
{
- ProcessListernerObjects(xmlResource, out Objcache, out Keyscache);
+ ProcessListenerObjects(xmlResource, out Objcache, out Keyscache);
}
else if (ContainerListenerOrClientCert.Equals(WSManStringLiterals.containerClientCertificate, StringComparison.OrdinalIgnoreCase))
{
@@ -3715,7 +3715,7 @@ namespace Microsoft.WSMan.Management
}
else
{
- ProcessListernerObjects(xmlresources, out ResourcesCache, out KeysCache);
+ ProcessListenerObjects(xmlresources, out ResourcesCache, out KeysCache);
}
if (KeysCache.Contains(childname))
{
@@ -3950,7 +3950,7 @@ namespace Microsoft.WSMan.Management
}
else
{
- ProcessListernerObjects(outxml, out objcache, out KeysCache);
+ ProcessListenerObjects(outxml, out objcache, out KeysCache);
}
String PathChecked = host + WSManStringLiterals.DefaultPathSeparator + parentListenerOrCert;
@@ -4644,7 +4644,7 @@ namespace Microsoft.WSMan.Management
Keyscache = kCache;
}
- private void ProcessListernerObjects(XmlDocument xmlListeners, out Hashtable listenercache, out Hashtable Keyscache)
+ private void ProcessListenerObjects(XmlDocument xmlListeners, out Hashtable listenercache, out Hashtable Keyscache)
{
Hashtable lCache = new Hashtable();
Hashtable kCache = new Hashtable();
@@ -4871,11 +4871,11 @@ namespace Microsoft.WSMan.Management
// ArrayList SecurityLvl = null;
if (xmlSecurity != null)
{
- XmlNodeList nodelistSecutiry = xmlSecurity.GetElementsByTagName(WSManStringLiterals.containerSecurity);
- if (nodelistSecutiry.Count > 0)
+ XmlNodeList nodelistSecurity = xmlSecurity.GetElementsByTagName(WSManStringLiterals.containerSecurity);
+ if (nodelistSecurity.Count > 0)
{
//SecurityLvl = new ArrayList();
- foreach (XmlElement xe in nodelistSecutiry)
+ foreach (XmlElement xe in nodelistSecurity)
{
bool ExactMatchFound = false;
PSObject objSecurity = new PSObject();
diff --git a/src/Microsoft.WSMan.Management/CredSSP.cs b/src/Microsoft.WSMan.Management/CredSSP.cs
index 6e1017b4e..a1d535924 100644
--- a/src/Microsoft.WSMan.Management/CredSSP.cs
+++ b/src/Microsoft.WSMan.Management/CredSSP.cs
@@ -440,7 +440,7 @@ namespace Microsoft.WSMan.Management
//private const string DelegateComputerParam = "DelegateComputer";
//private String[] delegatecomputer;
- //private RuntimeDefinedParameterDictionary dyanmicParameters = new RuntimeDefinedParameterDictionary();
+ //private RuntimeDefinedParameterDictionary dynamicParameters = new RuntimeDefinedParameterDictionary();
#endregion
@@ -544,7 +544,7 @@ namespace Microsoft.WSMan.Management
// return null if the role is not client.
if (!Role.Equals(ClientRole, StringComparison.OrdinalIgnoreCase))
{
- return dyanmicParameters;
+ return dynamicParameters;
}
// Construct attributes for the DelegateComputer parameter
@@ -561,9 +561,9 @@ namespace Microsoft.WSMan.Management
DelegateComputerParam,
typeof(string[]),
delegateComputerAttributeCollection);
- dyanmicParameters.Add(DelegateComputerParam, delegateComputer);
+ dynamicParameters.Add(DelegateComputerParam, delegateComputer);
- return dyanmicParameters;
+ return dynamicParameters;
} // GetDynamicParameters*/
@@ -603,7 +603,7 @@ namespace Microsoft.WSMan.Management
return;
}
// Extract delegateComputer information from dynamic parameters collection
- //RuntimeDefinedParameter delegateComputerParameter = dyanmicParameters[DelegateComputerParam];
+ //RuntimeDefinedParameter delegateComputerParameter = dynamicParameters[DelegateComputerParam];
//delegatecomputer = (string[])delegateComputerParameter.Value;
string newxmlcontent = @"true";
diff --git a/src/Microsoft.WSMan.Management/NewWSManSession.cs b/src/Microsoft.WSMan.Management/NewWSManSession.cs
index e474a3bcc..627cdced5 100644
--- a/src/Microsoft.WSMan.Management/NewWSManSession.cs
+++ b/src/Microsoft.WSMan.Management/NewWSManSession.cs
@@ -41,14 +41,14 @@ namespace Microsoft.WSMan.Management
{
get
{
- return _proxyacesstype;
+ return _proxyaccesstype;
}
set
{
- _proxyacesstype = value;
+ _proxyaccesstype = value;
}
}
- private ProxyAccessType _proxyacesstype;
+ private ProxyAccessType _proxyaccesstype;
///
/// The following is the definition of the input parameter "ProxyAuthentication".
@@ -253,7 +253,7 @@ namespace Microsoft.WSMan.Management
objSessionOption.OperationTimeout = operationtimeout;
objSessionOption.SkipRevocationCheck = skiprevocationcheck;
//Proxy Settings
- objSessionOption.ProxyAccessType = _proxyacesstype;
+ objSessionOption.ProxyAccessType = _proxyaccesstype;
objSessionOption.ProxyAuthentication = proxyauthentication;
if (noencryption)