Saves the current state of the Excel workbook to the provided stream.
public void Save(
Stream stream
)
stream
A Stream to which the workbook will be saved. The stream must be writable, and it is the caller's responsibility to manage the stream's lifecycle, including opening, closing, and disposing of the stream as appropriate.