Added real IP location display

https://ipapi.co/api/?shell#introduction
This commit is contained in:
2dust
2024-11-19 16:43:00 +08:00
parent 945a0add96
commit bee66d06dd
9 changed files with 31 additions and 8 deletions

View File

@@ -0,0 +1,13 @@
namespace ServiceLib.Models
{
internal class IPAPIInfo
{
public string? ip { get; set; }
public string? city { get; set; }
public string? region { get; set; }
public string? region_code { get; set; }
public string? country { get; set; }
public string? country_name { get; set; }
public string? country_code { get; set; }
}
}