<PackageReference Include="Microsoft.Identity.Client" Version="4.92.0" />

Microsoft.Identity.Client.TokenCacheSnapshot

public sealed class TokenCacheSnapshot
An immutable, process-local snapshot of persisted MSAL token cache state.
public byte[] SerializeMsalV3()

Serializes this snapshot in the existing MSAL V3 format for persistent storage.