private Authority3DService()
 {
     try
     {
         this._licenseServer = new LicenseServer();
         long l1;
         this._licenseServer.InternalGetData(out l1, out this._isAuthorized);
         if (!this._isAuthorized)
         {
             string ip       = Config.GetConfigValue("Authority3DServerIP");
             string port     = Config.GetConfigValue("Authority3DServerPort");
             string pwd      = Config.GetConfigValue("Authority3DPwd");
             uint   uPort    = 0;
             bool   bPortRes = uint.TryParse(port, out uPort);
             if (bPortRes)
             {
                 SetNetAuthority(ip, uPort, pwd);
             }
         }
     }
     catch
     {
     }
 }
Exemple #2
0
 public LicenseController(ILicenseServer licenseServer)
 {
     this.licenseServer = licenseServer;
 }