/*临时文件路径*/Path.GetTempPath(); /*得到IP地址*/this.Context.Request.UserHostAddress.ToString(); 转载于:https://www.cnblogs.com/thanks/archive/2004/04/07/5406.html