HttpWebRequest myReq = (HttpWebRequest)WebRequest.Create(path+filename); //创建一个请求(获得需要的文件信息)
HttpWebResponse myRes = (HttpWebResponse)myReq.GetResponse();
string gorlseftDate = myRes.LastModified.ToString("yyyy-MM-dd hh:mm:ss");//获得dataServer.rar的创建时间

 myRes中还有许多相关的信息,根据自己的需要去获取吧。

相关文章:

  • 2021-07-07
  • 2021-10-22
  • 2022-12-23
猜你喜欢
  • 2022-02-17
  • 2021-08-11
  • 2021-11-22
  • 2021-12-18
  • 2022-12-23
相关资源
相似解决方案