wjian.cs
资源名称:wlll.rar [点击查看]
上传用户:zpsczj
上传日期:2022-02-13
资源大小:4436k
文件大小:1k
源码类别:
网络截获/分析
开发平台:
Visual C++
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.IO;
- namespace wlcs
- {
- class wjian
- {
- public string wenjian()
- {
- string path = "..//Debug//wenjian.txt..";
- string filestring = null;
- if (File.Exists(path))
- {
- FileStream Files = new FileStream(path, FileMode.Open);
- StreamReader reader = new StreamReader(Files, Encoding.Default);
- filestring = reader.ReadToEnd();
- reader.Close();
- }
- return filestring;
- }
- //public string pathhou(string filename, char fgf)
- //{
- // string[] filepath;
- // filepath = filename.Split(fgf);
- // return filepath;
- //}
- }
- }