public void LoadVLANs() { // Load vlan-data from SNMP SNMPResultSet[] rsNames = SnmpClient.Walk(OIDWalk.VLANListName); VLAN tmpVLAN = null; // Create vlan-object for (int i = 0; i < rsNames.Length; i++) { tmpVLAN = new VLAN(); tmpVLAN.Name = rsNames[i].Value; VLANs.Add(tmpVLAN); } }
public PortTaggingInfo(VLAN pVLAN, TagType pTagType) { this.VLAN = pVLAN; this.TagType = pTagType; }