摘要: string s=Server.MapPath("..\\..\\api\\text.txt"); //由相对路径获取物理路径 FileStream fs = new FileStream(s, FileMode.Create); byte[] data = new UTF8Encoding().GetBytes("notify_url"); fs.Write(data, 0, data.Length); fs.Flush(); fs.Close(); 阅读全文
posted @ 2014-03-07 14:49 乡土的味道 阅读(324) 评论(0) 推荐(0) 编辑