Tutorial: Platform.getSnapshot

Platform.getSnapshot

Returns a snapshot of the platform in its current state. You can pass the returning object to Platform.applySnapshot to launch it.

The snapshot will include details such as an ISO format timestamp of when the snapshot was taken, OpenFin runtime version the platform is running on, monitor information and the list of currently running windows.

Example

const platform = await fin.Platform.getCurrent();
const snapshot = await platform.getSnapshot();