So I've been playing around getting CMUD to communicate with C# code through COM. I've gotten CMUD to make calls to the C# object, but I haven't been able to use CMUD's COM interface much from C# code.

CODE
                
Type oType = Type.GetTypeFromProgID("Cmud.Application");
if (oType != null)
{
     COMCMUD.Application app = (COMCMUD.Application)Activator.CreateInstance(oType);
     COMCMUD.cMUDSession session = app.CurrentSession;


Getting the Application works, but everything I've tried to get the session always ends up giving null. I don't have a lot of experience with COM and I'm just kinda playing around with it, but anyone have any helpful hints on where to go from there?