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