SyntaxFix
Write A Post
Hire A Developer
Questions
I don't know about methods; however, the type to GUID can be done via:
Guid iid = System.Runtime.InteropServices.Marshal.GenerateGuidForType(typeof(IFoo));
http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.generateguidfortype.aspx