static void Main(string[] args) { NtpSyncModule ntpSync = new NtpSyncModule("pool.ntp.org"); ntpSync.GetNetworkTime(); if (ntpSync.SyncedTime.HasValue) { Console.WriteLine("Synced time test: " + ntpSync.SyncedTime.Value); } MessageQueueHandler mHandler = new MessageQueueHandler(); mHandler.Run(); }