private void Connect(NetHwInterface other)
 {
     if (otherInterface != null)
     {
         otherInterface.Disconnect( );
     }
     if (other != null)
     {
         other.Disconnect( );
         other.otherInterface = this;
         EmulatorLogger.Log(LogLevel.Info, EventType.Connected, other.Name);
     }
     otherInterface = other;
     EmulatorLogger.Log(LogLevel.Info, EventType.Connected, this.Name);
 }
 private void Connect(NetHwInterface other)
 {
     if (otherInterface != null) {
         otherInterface.Disconnect( );
     }
     if (other != null) {
         other.Disconnect( );
         other.otherInterface = this;
         EmulatorLogger.Log(LogLevel.Info, EventType.Connected, other.Name);
     }
     otherInterface = other;
     EmulatorLogger.Log(LogLevel.Info, EventType.Connected, this.Name);
 }