根据外网IP获取地址 须下载QQip数据库“QQWry.Dat” 调用方式如下: //string ipfilePath = @"C:\Program Files\Tencent\QQ\Bin\QQWry.Dat"; //IPSearch ipSearch = new IPSearch(ipfilePath); //st