Where exactly does getStateInformation store its data?

Sorry if this is a stupid question. I want to save some info about my plugin, and I would like to know where that info ends up. Is it stored inside your DAW's current project file or something?

This will depend on the DAW. The DAW passes a "stream" object to the plug-in and the plug-in uses the stream objects methods to write out it's data. Typically this will be stored in the project file.

Thank you for the insight! I was hoping this is how it worked.