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

Microsoft.ApplicationInsights.Extensibility.Implementation.SessionContext

public sealed class SessionContext
Encapsulates information about a user session.
public string Id { get; set; }

Gets or sets the application-defined session ID.

public bool? IsFirst { get; set; }

Gets or sets the IsFirst Session for the user.