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

Microsoft.ApplicationInsights.DataContracts.SessionState

public enum SessionState
Contains values that identify state of a user session.
End = 1

Indicates that a user session ended.

Start = 0

Indicates that a user session started.