日期:2014-05-20 浏览次数:20736 次
FileStream file = new FileStream(@"文件的存放路径",FileMode.Create); StreamWriter sw = new StreamWriter(file,Encoding.UTF8); sw.Write("用户名 密码"); sw.Close(); file.Close();