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