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