Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            UserProperties properties = new UserProperties("config.properties");
            Client         client     = new Client(properties);

            client.start();
        }
Ejemplo n.º 2
0
        public Client(UserProperties properties)
        {
            this.properties = properties;

            FileStream fileStream = new FileStream("output" + DateTime.Now.ToString("yyyMMddHHmmss") + ".txt", FileMode.CreateNew, FileAccess.Write);

            this.outputWriter           = new StreamWriter(fileStream);
            this.outputWriter.AutoFlush = true;
        }