Exemple #1
0
        /// <summary>
        /// Gets the local device's IP Routing Table
        /// </summary>
        /// <returns></returns>
        public static ArpTable GetArpTable()
        {
            if (m_singleton == null)
            {
                m_singleton = new ArpTable();
            }

            return(m_singleton);
        }
Exemple #2
0
 /// <summary>
 /// Releases resources for the ARP table
 /// </summary>
 public void Dispose()
 {
     try
     {
         m_notifyWatchThread.Abort();
     }
     finally
     {
         m_entryList = null;
         m_adapters  = null;
         m_singleton = null;
     }
 }