I am using Basler Ace Series Gige Camera (acA4600-7gc).
I also want to store settings of hardisk. Is there any way to serialize the settings.
to be honest I am not sure what you really mean((
If you meant that you want to save your camera settings to the hard drive and load them e.g. to the same or another camera later on, you may simply use the basler pylon viewer tool (or SDK samples), go to Camera -> Save Features...
This will save all so-called "streamable" camera features to a *.pfs file, which you can use later on or for other cameras.
If this does not answer your question, please re-specify it.