Iso3166RetrieveIpAddressStatus Method
Retrieves a new IP Address data from
https://ipapi.co/ and returns the results.
It also checks whether the IP Address is from a blacklisted country.
Namespace: MobileTrack.Common.ModelsAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public static Task<IpAddressStatusDto?> RetrieveIpAddressStatus(
string ipAddress,
Guid companyId
)
- ipAddress String
- IP Address to check
- companyId Guid
- Company the new IP Address is for (white/blacklist), or Empty for the global white/blacklist.
TaskIpAddressStatusDtoNewly generated status, or null if there was an issue with the third party service.