<PackageReference Include="Microsoft.Data.SqlClient" Version="7.1.1" />

Microsoft.Data.SqlClient.SessionHandle

struct SessionHandle
This structure is used for transporting packet handle references between the TdsParserStateObject base class and Managed or Native implementations. It carries type information so that assertions about the type of handle can be made in the implemented abstract methods.
public readonly SNIHandle NativeHandle

public bool IsNull { get; }

public SessionHandle(SNIHandle nativeHandle)

public static SessionHandle FromNativeHandle(SNIHandle nativeSessionHandle)