示例#1
0
        private string PIFName(PIF pif)
        {
            bool bond;

            if (pif.VLAN >= 0)
            {
                return(string.Format(Messages.VLAN_NETWORK_NAME, pif.NICIdentifier(out bond), pif.VLAN));
            }
            else
            {
                return(string.Format(Messages.NETWORK_NAME, pif.NICIdentifier(out bond)));
            }
        }
示例#2
0
        private string PIFName(PIF pif)
        {
            bool bond;

            return(string.Format(Messages.NETWORK_NAME, pif.NICIdentifier(out bond)));
        }