![]() | RemLoginLogin Method |
Namespace: Paperwork.Connect
public a_LoginInfo Login( string userName, string password, string appName, string aLanguage = "tr", int aPageSize = 0, string aCustomerId = "" )
public void Login() { bool SSLEnable = true; string CertFile = @"C:\Argus\Source\Binaries\Cer\ggsoft.cer"; Productivity p = new Productivity(ClientTypes.ProductivityLayer, SSLEnable, CertFile); p.InitRemObjects("argusdev.g-gsoft.com", "8099"); a_LoginInfo retval = p.rLogin.Login("argus", "gg", "Sampe Client", "tr", 1000, "000"); if (retval.ErrorCode != "0") throw new Exception(retval.LMessage); else Console.WriteLine("Bağlantı Kuruldu."); }