Exemplo n.º 1
0
 public DataLicense(DataConfig pConfig)
 {
     dataConfig         = pConfig;
     proxy              = pConfig.Proxy;
     serialKey          = pConfig.SerialKey;
     clientIP           = Util.GetLocalIpAddress();
     externalIP         = Util.GetExternalIp(proxy);
     customerMACAddress = Util.GetMacAddres();
     userName           = Environment.UserName;
     customerID         = pConfig.CustomerID;
     customerMachineID  = pConfig.CustomerMacNumber;
     licAddress         = pConfig.LicenseAddress;
 }
Exemplo n.º 2
0
 public License(DataConfig pConfig)
 {
     dataLicense = new DataLicense(pConfig);
 }