//写日志
System.IO.FileStream fs = new System.IO.FileStream("E:\\log.txt", System.IO.FileMode.Append);
System.IO.StreamWriter sw = new System.IO.StreamWriter(fs, System.Text.Encoding.Default);
sw.WriteLine(DateTime.Now.ToString() + "'\t'" + guid.ToString() + "'\t'" + sbEncryptKey + "'\t'" + "'\r\n'");
sw.Close();
fs.Close();
System.IO.FileStream fs = new System.IO.FileStream("E:\\log.txt", System.IO.FileMode.Append);
System.IO.StreamWriter sw = new System.IO.StreamWriter(fs, System.Text.Encoding.Default);
sw.WriteLine(DateTime.Now.ToString() + "'\t'" + guid.ToString() + "'\t'" + sbEncryptKey + "'\t'" + "'\r\n'");
sw.Close();
fs.Close();