Beispiel #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;
 }
Beispiel #2
0
 public License(DataConfig pConfig)
 {
     dataLicense = new DataLicense(pConfig);
 }