internal static bool StartNotificationSystem()
{
if (Configuration.Enabled && !_started)
{
var pollInterval = Configuration.TimerInterval * 60.0 * 1000.0;
LockingTimeframe = TimeoutMultiplier * Configuration.TimerInterval;
AppDomainId = Guid.NewGuid().ToString();
_notifTimer = new System.Timers.Timer(pollInterval);
_notifTimer.Elapsed += new System.Timers.ElapsedEventHandler(NotifTimerElapsed);
_notifTimer.Disposed += new EventHandler(NotifTimerDisposed);
_notifTimer.Enabled = true;
_started = true;
}
return _started;
}