AnsweredAssumed Answered

NimbusSession Login (C#)

Question asked by Rogerio on Apr 30, 2011
Latest reply on May 11, 2011 by Rogerio

My friends,

 

I'm using the NimbusAPI.DLL in a C# project and I'm trying to do a simple login but I'm receiving a error. Can someone, please, help me? The excerpt of code is:

 

using Nimsoft.NimBUS;
using Nimsoft.NimBUS.Messaging;

    NimbusSession contSession = new NimbusSession("PRIMARY_HUB");
    contSession.Login("MyUser", "MyPassword", true);   // THE ERROR HAPPENS HERE

 

 And the error is:  Invalid token '(' in class, struct, or interface member declaration

 

 Where am I failing? (The error, of course, resides between the chair and the keyboard... :smileyvery-happy: )

 

Thanks a lot.

Outcomes