Save SSID when nic is saved

This commit is contained in:
Tim Young 2015-08-22 13:51:27 -07:00
parent 057ae07db5
commit 501e0fc571

View File

@ -85,6 +85,9 @@ namespace EduNetworkBuilder
case "encryptionkey": case "encryptionkey":
EncryptionKey = Individual.InnerText; EncryptionKey = Individual.InnerText;
break; break;
case "ssid":
SSID = Individual.InnerText;
break;
} }
} }
} }
@ -116,6 +119,8 @@ namespace EduNetworkBuilder
writer.WriteElementString("usesdhcp", UsesDHCP.ToString()); writer.WriteElementString("usesdhcp", UsesDHCP.ToString());
if(EncryptionKey != "") if(EncryptionKey != "")
writer.WriteElementString("encryptionkey", EncryptionKey); writer.WriteElementString("encryptionkey", EncryptionKey);
if (SSID != "")
writer.WriteElementString("ssid", SSID);
if (TunnelEndpoint != null) if (TunnelEndpoint != null)
{ {
TunnelEndpoint.Save(writer, "tunnelendpoint"); TunnelEndpoint.Save(writer, "tunnelendpoint");