Example #1
0
    void OnDestroy()
    {
        m_logger.Close();
        m_logger = null;
        FileStream fs = new FileStream("test_standard.txt"
                                       , FileMode.CreateNew
                                       , FileAccess.Write);
        BufferedStream buf = new BufferedStream(fs);

        foreach (string item in m_lstStandard)
        {
            byte[] bytes = Encoding.Unicode.GetBytes(item);
            buf.Write(bytes, 0, bytes.Length);
        }
        buf.Flush();
    }
Example #2
0
 void OnDestroy()
 {
     m_logger.Close();
     m_logger = null;
 }
Example #3
0
 // Use this for initialization
 void Start()
 {
     m_logger = new loggerSrvLib.Logger();
     m_logger.Create("test_verifying.txt");
 }
Example #4
0
 // Use this for initialization
 void Start()
 {
     m_logger = new loggerSrvLib.Logger();
     m_logger.Create("test_verifying.txt");
     m_t0 = Environment.TickCount;
 }