// *****************************************************************
 // ***                  Constructor                             ****
 // *****************************************************************
 //
 protected NistServices(bool isConnectToNIST)
 {
     m_Instance = (NistServices)this;
     if (isConnectToNIST)
     {
         Initialize();
     }
 }
        //
        //
        //
        #endregion//properties


        #region  Static Methods
        // *****************************************************************
        // ***                  Static Methods                          ****
        // *****************************************************************
        //
        /// <summary>
        /// For non-time-critical runs, the nist timer can be simply bypassed
        /// by setting isConnectToNist = false.
        /// </summary>
        /// <param name="isConnectToNIST">True to do contact nist, false bypasses everything.</param>
        /// <returns></returns>
        public static NistServices GetInstance(bool isConnectToNist)
        {
            if (m_Instance == null)
            {
                m_Instance = new NistServices(isConnectToNist);
            }
            return(m_Instance);
        }