using System; using Novell.Casa.Client.Auth; namespace TestClientAuth { /// /// Summary description for Class1. /// class Class1 { /// /// The main entry point for the application. /// [STAThread] static void Main(string[] args) { if (args.Length < 1) { Console.WriteLine("Usage: TestClientAuth [server]"); Console.WriteLine("Press enter to continue"); Console.ReadLine(); return; } try { byte[] baToken = Authtoken.ObtainAuthToken("testService", args[0]); Console.WriteLine("Token returned: ("+ baToken.Length + ")"); for (int i=0; i