public ABC4TrustSmartCard(String cardName) { this.cardName = cardName; sIO = new SmartCardIO(); card = sIO.TryConnect(cardName); pStatus = ProofStatus.NOTSET; this.doProfile = ParseConfigManager.doTimeProfile(); if (doProfile) { pInfo = ParseConfigManager.profileInfo; } }
public WcfTimeProfileEndPointLogger() { ParseConfigManager.ProfileInfo pInfo = ParseConfigManager.profileInfo; bool doProfile = ParseConfigManager.DoTimeProfile(); if (doProfile) { _logger = Logger.Instance.getLog(pInfo.loggerToUse); _tUnit = pInfo.timeAs; } else { throw new Exception("Should not call wcfProfileLogger if not doing time profile"); } }