public NexposeSession(string host, int port = 3780, NexposeAPIVersion version = NexposeAPIVersion.v11) { this.Host = host; this.Port = port; this.APIVersion = version; }
public NexposeSession(string username, string password, string host, int port = 3780, NexposeAPIVersion version = NexposeAPIVersion.v11) { this.Host = host; this.Port = port; this.APIVersion = version; ServicePointManager.ServerCertificateValidationCallback = (s, cert, chain, ssl) => true; this.Authenticate(username, password); }
public NexposeSession(string username, string password, string host, int port = 3780, NexposeAPIVersion version = NexposeAPIVersion.v11) { this.Host = host; this.Port = port; this.APIVersion = version; this.Authenticate(username, password); }