From 501e0fc5711bf559753afcd332d8e2dc30942f3c Mon Sep 17 00:00:00 2001 From: Tim Young Date: Sat, 22 Aug 2015 13:51:27 -0700 Subject: [PATCH] Save SSID when nic is saved --- EduNetworkBuilder/NetworkCard.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/EduNetworkBuilder/NetworkCard.cs b/EduNetworkBuilder/NetworkCard.cs index 1066acb..5e0aceb 100644 --- a/EduNetworkBuilder/NetworkCard.cs +++ b/EduNetworkBuilder/NetworkCard.cs @@ -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");