Ejemplo n.º 1
0
 public JScrambler(string accessKey, string secretKey)
 {
     this.serviceConfig = this.serviceConfig ?? new ServiceSection();
     this.serviceConfig.Credentials.AccessKey = accessKey;
     this.serviceConfig.Credentials.SecretKey = secretKey;
     #if DEBUG
     this.serviceConfig.ApiPort = 80;
     #endif
 }
Ejemplo n.º 2
0
 public JScrambler(string accessKey, string secretKey, string apiHost, int apiPort)
     : this(accessKey, secretKey, apiHost)
 {
     this.serviceConfig = this.serviceConfig ?? new ServiceSection();
     this.serviceConfig.ApiPort = apiPort;
 }
Ejemplo n.º 3
0
 public JScrambler()
 {
     var section = ConfigurationManager.GetSection(ServiceSection.SectionName);
     serviceConfig = section as ServiceSection;
 }
Ejemplo n.º 4
0
 public JScrambler()
 {
     serviceConfig = ConfigurationManager.GetSection(ServiceSection.SectionName) as ServiceSection;
 }