示例#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());
        }
示例#2
0
文件: Bord.cs 项目: Albawab/MyWork
        /// <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);
        }