您的位置:首页 > 其它

fig

2015-08-19 09:31 267 查看
netsh int tcp set global ecn=disable

C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe C:\TESTWindowService\myWindowsService.exe

C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /u C:\TESTWindowService\myWindowsService.exe

using System.Web.Script.Serialization;

JavaScriptSerializer json = new JavaScriptSerializer();

List<URL> urlList = new List<URL>();

json.Serialize(urlList);

public class URL
{
public int ID { get; set; }
public string AD { get; set; }
public int type { get; set; }
public DateTime date { get; set; }
public string time { get; set; }
public string url { get; set; }
public bool status { get; set; }
}

添加服务器引用

NextEVWebservice.WebService websvc = new NextEVWebservice.WebService();
JavaScriptSerializer json = new JavaScriptSerializer();
List<URL> urlList = json.Deserialize<List<URL>>(websvc.GetURL(adName));
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: