public OMNIKEY5021CL(SmartCardReader chipScanner, ICSDeviceListener csManager, TimeSpan timeoutTimer) { this.chipScanner = chipScanner; this.csManager = csManager; this.timePerTimeout = timeoutTimer; this.nextTimeout = DateTime.Now + this.timePerTimeout; }
public OMNIKEY5021CL(SmartCardReader chipScanner, ICSDeviceListener csManager) { this.chipScanner = chipScanner; this.csManager = csManager; this.timePerTimeout = TimeSpan.FromHours(2); //change this if you want another value, to be the standard this.nextTimeout = DateTime.Now + this.timePerTimeout; }