Пример #1
0
        /// <summary>
        /// Gets the local device's IP Routing Table
        /// </summary>
        /// <returns></returns>
        public static IPRoutingTable GetRoutingTable()
        {
            if (m_singleton == null)
            {
                m_singleton = new IPRoutingTable();
            }

            return(m_singleton);
        }
Пример #2
0
 /// <summary>
 /// Releases resources for this instance
 /// </summary>
 public void Dispose()
 {
     try
     {
         m_notifyWatchThread.Abort();
     }
     finally
     {
         m_routeList = null;
         m_adapters  = null;
         m_singleton = null;
     }
 }