Hi Srikrishna,
You can easily do it like this:
mediaFile.SetValue("CustomBoolValue", true);
mediaFile.SetValue("CustomStringValue", "Some string");
mediaFile.SetValue("CustomIntValue", 42);
// ..and so on and then save the media file
MediaFileInfoProvider.SetMediaFileInfo(mediaFile);