Esempio n. 1
0
        public Remote()
        {
            try
            {
                moConnection = new EServ.Client();
                moConnection.EventReceived     += new Client.delegateReceived(moConnection_EventReceived);
                moConnection.EventDisconnected += new Client.delegateDisconnected(moConnection_EventDisconnected);

                moConnection.CheckInterval = 60;
                moConnection.IdleTimeout   = 60;
                moConnection.WaitTimeout   = 60;

                moUser = new User();
                moUser.ComputerName = System.Net.Dns.GetHostName();
                moUser.IPAddress    = Static.NetworkGetIp(moUser.ComputerName);
                moUser.NICAddress   = Static.NetworkGetNic();
            }
            catch
            { }
        }
Esempio n. 2
0
 public frmChangePass(EServ.Client mCon, User mUser)
 {
     InitializeComponent();
     moConnection = mCon;
     moUser       = mUser;
 }