Skip to content

Commit 59848cf

Browse files
committed
Support new proxy type "AIC" in "Is_Proxy" field
1 parent 3d5f9ad commit 59848cf

5 files changed

Lines changed: 18 additions & 15 deletions

File tree

IP2ProxyComponent/IP2ProxyComponent/IP2Proxy.vb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,17 +173,17 @@ Public Class Component
173173
Public Function IsProxy(IP As String) As Integer
174174
' -1 is error
175175
' 0 is not a proxy
176-
' 1 is proxy except DCH and SES
177-
' 2 is proxy and (DCH or SES)
176+
' 1 is proxy except DCH and SES and AIC
177+
' 2 is proxy and (DCH or SES or AIC)
178178
Return ProxyQuery(IP, Modes.IS_PROXY).Is_Proxy
179179
End Function
180180

181181
'Description: Returns an integer to state if is proxy (async)
182182
Public Async Function IsProxyAsync(IP As String) As Task(Of Integer)
183183
' -1 is error
184184
' 0 is not a proxy
185-
' 1 is proxy except DCH and SES
186-
' 2 is proxy and (DCH or SES)
185+
' 1 is proxy except DCH and SES and AIC
186+
' 2 is proxy and (DCH or SES or AIC)
187187
Return (Await ProxyQueryAsync(IP, Modes.IS_PROXY)).Is_Proxy
188188
End Function
189189

@@ -878,7 +878,7 @@ Public Class Component
878878
If Country_Short = "-" OrElse Proxy_Type = "-" Then
879879
Is_Proxy = 0
880880
Else
881-
If Proxy_Type = "DCH" OrElse Proxy_Type = "SES" Then
881+
If Proxy_Type = "DCH" OrElse Proxy_Type = "SES" OrElse Proxy_Type = "AIC" Then
882882
Is_Proxy = 2
883883
Else
884884
Is_Proxy = 1
@@ -1229,7 +1229,7 @@ Public Class Component
12291229
If Country_Short = "-" OrElse Proxy_Type = "-" Then
12301230
Is_Proxy = 0
12311231
Else
1232-
If Proxy_Type = "DCH" OrElse Proxy_Type = "SES" Then
1232+
If Proxy_Type = "DCH" OrElse Proxy_Type = "SES" OrElse Proxy_Type = "AIC" Then
12331233
Is_Proxy = 2
12341234
Else
12351235
Is_Proxy = 1

IP2ProxyComponent/IP2ProxyComponent/IP2ProxyComponent.vbproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
<RootNamespace>IP2Proxy</RootNamespace>
55
<TargetFrameworks>netstandard2.0;net472;net48;net481;net5.0;net6.0;net7.0;net8.0;net9.0;net10.0</TargetFrameworks>
66
<AssemblyName>IP2Proxy</AssemblyName>
7-
<Version>4.1.2</Version>
7+
<Version>4.2.0</Version>
88
<Authors>IP2Proxy.com</Authors>
99
<Company>IP2Proxy.com</Company>
1010
<Product>IP2Proxy .NET Component</Product>
1111
<Title>IP2Proxy .NET Component</Title>
1212
<Description>IP2Proxy .NET Component</Description>
1313
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
14-
<Copyright>Copyright 2025</Copyright>
14+
<Copyright>Copyright 2026</Copyright>
1515
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1616
<PackageProjectUrl>https://www.ip2location.com/development-libraries/ip2proxy/dot-net</PackageProjectUrl>
1717
<PackageIcon>ip2proxy-logo-square-128.png</PackageIcon>
18-
<PackageReleaseNotes>Updated compatibility for .NET 10</PackageReleaseNotes>
18+
<PackageReleaseNotes>Support new proxy type "AIC" in "Is_Proxy" field</PackageReleaseNotes>
1919
<RepositoryUrl>https://github.com/ip2location/ip2proxy-dotnet.git</RepositoryUrl>
2020
<PackageTags>ip2proxy proxy detection</PackageTags>
2121
<RepositoryType>git</RepositoryType>

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[![NuGet Version](https://img.shields.io/nuget/v/IP2Proxy)](https://www.nuget.org/packages/IP2Proxy/)
33
[![NuGet Downloads](https://img.shields.io/nuget/dt/IP2Proxy)](https://www.nuget.org/packages/IP2Proxy/)
44

5-
This component allows user to query an IP address if it was being used as VPN anonymizer, open proxies, web proxies, Tor exits, data center, web hosting (DCH) range, search engine robots (SES), residential proxies (RES), consumer privacy networks (CPN), and enterprise private networks (EPN). It lookup the proxy IP address from **IP2Proxy BIN Data** file. This data file can be downloaded at
5+
This component allows user to query an IP address if it was being used as VPN anonymizer, open proxies, web proxies, Tor exits, data center, web hosting (DCH) range, search engine robots (SES), AI crawlers (AIC), residential proxies (RES), consumer privacy networks (CPN), and enterprise private networks (EPN). It lookup the proxy IP address from **IP2Proxy BIN Data** file. This data file can be downloaded at
66

77
* Free IP2Proxy BIN Data: https://lite.ip2location.com
88
* Commercial IP2Proxy BIN Data: https://www.ip2location.com/database/ip2proxy
@@ -23,6 +23,7 @@ To learn more about installation, usage, and code examples, please visit the dev
2323
|RES|Residential Proxies [PX10+]|
2424
|CPN|Consumer Privacy Networks. [PX11+]|
2525
|EPN|Enterprise Private Networks. [PX11+]|
26+
|AIC|AI Crawlers. [PX12+]|
2627

2728
### Usage Type
2829

@@ -37,8 +38,10 @@ To learn more about installation, usage, and code examples, please visit the dev
3738
|CDN|Content Delivery Network|
3839
|ISP|Fixed Line ISP|
3940
|MOB|Mobile ISP|
41+
|ISP/MOB|Fixed Line or Mobile ISP|
4042
|DCH|Data Center/Web Hosting/Transit|
4143
|SES|Search Engine Spider|
44+
|SES/AIC|Search Engine Spider/AI Crawlers|
4245
|RSV|Reserved|
4346

4447
### Threat Type

docs/source/code.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Retrieve geolocation information for an IP address.
5050
5151
| Field Name | Description |
5252
| ---------------- | ------------------------------------------------------------ |
53-
| Is_Proxy | Determine whether if an IP address was a proxy or not. Returns 0 is not proxy, 1 if proxy, and 2 if it's data center IP |
53+
| Is_Proxy | Determine whether if an IP address was a proxy or not. Returns 0 is not proxy, 1 if proxy, and 2 if it's data center IP or AI crawler |
5454
| Country_Short | Two-character country code based on ISO 3166. |
5555
| Country_Long | Country name based on ISO 3166. |
5656
| Region | Region or state name. |
@@ -78,7 +78,7 @@ Retrieve geolocation information for an IP address.
7878
7979
| Field Name | Description |
8080
| ---------------- | ------------------------------------------------------------ |
81-
| Is_Proxy | Determine whether if an IP address was a proxy or not. Returns 0 is not proxy, 1 if proxy, and 2 if it's data center IP |
81+
| Is_Proxy | Determine whether if an IP address was a proxy or not. Returns 0 is not proxy, 1 if proxy, and 2 if it's data center IP or AI crawler |
8282
| Country_Short | Two-character country code based on ISO 3166. |
8383
| Country_Long | Country name based on ISO 3166. |
8484
| Region | Region or state name. |

docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
# -- Project information
55

66
project = 'IP2Proxy .NET'
7-
copyright = '2025, IP2Location'
7+
copyright = '2026, IP2Location'
88
author = 'IP2Location'
99

10-
release = '4.1.2'
11-
version = '4.1.2'
10+
release = '4.2.0'
11+
version = '4.2.0'
1212

1313
# -- General configuration
1414

0 commit comments

Comments
 (0)