添加项目文件。
This commit is contained in:
25
common/Tnb.Common/Net/IpLocation.cs
Normal file
25
common/Tnb.Common/Net/IpLocation.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using JNPF.DependencyInjection;
|
||||
|
||||
namespace JNPF.Common.Net;
|
||||
|
||||
/// <summary>
|
||||
/// IP位置信息类.
|
||||
/// </summary>
|
||||
[SuppressSniffer]
|
||||
public class IpLocation
|
||||
{
|
||||
/// <summary>
|
||||
/// IP地址.
|
||||
/// </summary>
|
||||
public string? Ip { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// IP地址所属国家.
|
||||
/// </summary>
|
||||
public string? Country { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 位置信息.
|
||||
/// </summary>
|
||||
public string? Local { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user