ZXTM Control API Overview and Reference 
Version 4.0
2.3.2 C# 
Example 
using System;     
using System.Net; 
using System.IO; 
using System.Security.Cryptography.X509Certificates; 
public class AllowSelfSignedCerts : ICertificatePolicy { 
   public bool CheckValidationResult(  
         ServicePoint sp, X509Certificate cert, 
         WebRequest request, int problem )  
   { 
      return true; 
   } 
} 
public class addNode { 
   public static void Main( string [] args ) 
   { 
      System.Net.ServicePointManager.CertificatePolicy =  
         new AllowSelfSignedCerts(); 
      string url= "https://host:9090/soap"; 
      string username = "username"; 
      string password = "password"; 
      string vsName  = "Main web site"; 
      string rule    = "Disable login"; 
      try { 
         ZXTM.VirtualServer p = new ZXTM.VirtualServer(); 
         p.Url = url; 
         p.Credentials = new NetworkCredential(  
            username, password ); 
         // Get a list of rules used by the named  
         // virtual server 
         ZXTM.VirtualServerRule[][] rules =  
            p.getRules( new string[] { vsName } ); 
         // Search for the rule to enable 
42  






New Page 1








Home : About Us : Network : Services : Support : FAQ : Control Panel : Order Online : Sitemap : Contact : Terms Of Service

java web hosting

 

 

 Our partners: | PHP: Hypertext Preprocessor | Best Web Hosting | Web Hosting Perl | Inexpensive Web Hosting |

Jsp Web Hosting | Cheapest Web Hosting | Jsp Hosting | Cheap Hosting

 

Virtualwebstudio. Business web hosting division of Web Design Plus. All rights reserved