GUID for RhinoObject in RhinoCommon

I guess, I need to use RhinoCommon to get GUID for each object.

Please give me some clue or small code sample.

How to retrieve each Rhino object’s GUID in Rhinocommon SDK ?

Does my question make sense, if not please ask me back. I will try to give better explanation.

I need to store each object’s giud before passing it to GH_ wrapper.

Solved !..found it. Just forgot for the time being.

Rhino.DocObjects.ObjectEnumeratorSettings settings = new Rhino.DocObjects.ObjectEnumeratorSettings();

        System.Collections.Generic.List<Guid> ids = new System.Collections.Generic.List<Guid>();
        foreach (Rhino.DocObjects.RhinoObject rhObj in doc.Objects.GetObjectList(settings))