Method CheckGeoIP
CheckGeoIP()
Triggers the GeoIP call, if no geolocation data was already stored for this session, otherwise returns
the last GeoIP response.
Updates the consent status of PIPL legislation to reflect the current requirements (if it was previously
set as Unknown, Not Required or Required But Unchecked)
If the consent was already denied/given, but PIPL is not required anymore, the status is not changed.
ConsentCheckException is thrown if the GeoIP call was unsuccessful.
Declaration
public Task<GeoIPResponse> CheckGeoIP()
Returns
| Type | Description |
|---|---|
| Task<GeoIPResponse> |
|
Implements
Exceptions
| Type | Condition |
|---|---|
| ConsentCheckException | Thrown if the GeoIP call was unsuccessful. |