Using Revit API version 2013 in order to get the IfcGuid of the current project it is possible to use the following code:
UIDocument uidoc = commandData.Application.ActiveUIDocument;
Document doc = uidoc.Document;
string ifcproject = ExporterIFCUtils.CreateProjectLevelGUID(doc, Autodesk.Revit.DB.IFC.IFCProjectLevelGUIDType.Project);
The returned Guid will be the same, for instance, of an IFC file used in Solibri. Remember to add this to your Namespaces:
using Autodesk.Revit.DB.IFC;