Add some of the start of the IP address code that will be used for IPv6

This commit is contained in:
Tim Young 2018-03-15 16:03:32 -05:00
parent f3df4f525a
commit 8d1ba61b89

View File

@ -7,6 +7,7 @@ using System.Globalization;
using System.Xml; using System.Xml;
using System.Windows.Forms; using System.Windows.Forms;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using System.Net;
namespace EduNetworkBuilder namespace EduNetworkBuilder
{ {
@ -18,6 +19,10 @@ namespace EduNetworkBuilder
private UInt32 _mask; private UInt32 _mask;
private UInt32 _gw; private UInt32 _gw;
private IPAddressType myType; private IPAddressType myType;
//Add in new values for the IP, Netmask, and gateway. Will start migrating to use these.
private IPAddress theIP;
private IPAddress theNetmask;
private IPAddress theGateway;
public NB_IPAddress(string ip, string mask, IPAddressType WhatType) public NB_IPAddress(string ip, string mask, IPAddressType WhatType)
{ {