Пример #1
0
        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);
            }
        }
Пример #2
0
 public PortTaggingInfo(VLAN pVLAN, TagType pTagType)
 {
     this.VLAN    = pVLAN;
     this.TagType = pTagType;
 }