<PackageReference Include="Microsoft.ApplicationInsights" Version="3.1.1" />

Microsoft.ApplicationInsights.Extensibility.Implementation.LocationContext

public sealed class LocationContext
Encapsulates telemetry location information.
public string Ip { get; set; }

Gets or sets the location IP.