/// <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); }
/// <summary> /// Releases resources for this instance /// </summary> public void Dispose() { try { m_notifyWatchThread.Abort(); } finally { m_routeList = null; m_adapters = null; m_singleton = null; } }