How do I get the properties on missing scripts?

I have some objects who, in the inspector, say ‘Missing (Mono Script)’. I know how to find those with code. My question is, what code would I use to read those fields that are showing up in the Inspector? I mean, the script is missing, but those public vars are still there, and in my case, still contain valuable data which I would like to recover programatically.

Would this require Reflection, if so, is that field, property, member, what? (A bit new to .NET myself). The component is null, so I don’t seem to be able to get properties on it. Where are those things stored, how can they be accessed?

I highly doubt you can retrieve old informations from a non existing component :?

What about getting the name of the prefab it was attached to? If I haven’t renamed it, it’s obvious, but in many cases, I have renamed it. Is there something like EditorUtility.GetPrefabType() that would give me the original name of the original prefab?

I have related problem ( http://forum.unity3d.com/threads/111446-How-to-replace-missed-component-and-save-inspector-Metadata ), did you find the way to access the metadata?