Version 
4.0
1.3.2  listVS.cs using C Sharp 
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 listVS { 
   public static void Main( string [] args ) 
   { 
      System.Net.ServicePointManager.CertificatePolicy =  
         new AllowSelfSignedCerts(); 
      string url= "https://host:9090/soap"; 
      string username = "username"; 
      string password = "password"; 
      try { 
         ZXTM.VirtualServer p = new ZXTM.VirtualServer(); 
         p.Url = url; 
         p.Credentials = new NetworkCredential(  
            username, password ); 
         string[] names = p.getVirtualServerNames(); 
         bool[] enabled = p.getEnabled( names ); 
          
         for ( int i = 0; i < names.Length; i++  ) { 
            if( enabled[i] ) { 
               Console.WriteLine( "{0}", names[i] ); 
            } 
         } 
      } catch ( Exception e ) { 
  
21 






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