Esempio n. 1
0
        /// <summary>
        /// Packt de informatie van de project.
        /// </summary>
        /// <param name="time">Tijd.</param>
        // /// <param name="info">Information.</param>
        // /// <param name="iPAddress">IpAddress van de client.</param>
        public void Log(DateTime time)
        {
            string        message   = time.ToString();
            WriteTextFile writeText = new WriteTextFile();

            writeText.WriteText(message.ToString());
        }
Esempio n. 2
0
        /// <summary>
        /// Packt de informatie van de project.
        /// </summary>
        /// <param name="time">Tijd.</param>
        // /// <param name="info">Information.</param>
        // /// <param name="iPAddress">IpAddress van de client.</param>
        public void Log(DateTime time)
        {
            string        ipAddress = this.GetLocalIPAddress();
            string        message   = "Het nummer is niet correct " + time.ToString() + "\n" + ipAddress;
            WriteTextFile writeText = new WriteTextFile();

            writeText.WriteText(message);
        }