示例#1
0
 static TopManager()
 {
     st = new TopManager();
     System.Net.WebRequest.DefaultWebProxy = null;
     System.Net.ServicePointManager.DefaultConnectionLimit = 100;
     System.Net.ServicePointManager.Expect100Continue = false;
 }
示例#2
0
 private TopManager()
 {
     if (st != null) throw new Exception("Bad call.");
     st = this;
 }