예제 #1
0
 private NashClientConfig(string apikey, string secret, ulong clientId, NashEnvironment environment, ulong timeout, string affiliateCode)
 {
     this.apikey        = apikey;
     this.secret        = secret;
     this.clientId      = clientId;
     this.environment   = environment;
     this.timeout       = timeout;
     this.affiliateCode = affiliateCode;
 }
예제 #2
0
 static public NashClientConfig Unauthenticated(ulong clientId, NashEnvironment environment, ulong timeout)
 {
     return(new NashClientConfig(null, null, clientId, environment, timeout, null));
 }
예제 #3
0
 static public NashClientConfig Authenticated(string apikey, string secret, string affiliateCode, ulong clientId, NashEnvironment environment, ulong timeout)
 {
     return(new NashClientConfig(apikey, secret, clientId, environment, timeout, affiliateCode));
 }
예제 #4
0
 unsafe private static extern FFIResult InitNash(string apikey, string secret, ulong clientid, NashEnvironment environment, ulong timeout, string affiliateCode, out IntPtr client);