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(); }
void OnDestroy() { m_logger.Close(); m_logger = null; }
// Use this for initialization void Start() { m_logger = new loggerSrvLib.Logger(); m_logger.Create("test_verifying.txt"); }
// Use this for initialization void Start() { m_logger = new loggerSrvLib.Logger(); m_logger.Create("test_verifying.txt"); m_t0 = Environment.TickCount; }