Exemplo n.º 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="appId">Registration Server Application Id</param>
 /// <param name="appSecret">Registration Server Application Secret</param>
 public PublicAPIConnection(string appId, string appSecret)
 {
     this.authentication = new PublicAPIAuthentication(this, appId, appSecret);
     this.Initialize();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 public PublicAPIConnection()
 {
     this.authentication = new PublicAPIAuthentication(this, AuthenticationInfoProvider.Current.DefaultAppKey, AuthenticationInfoProvider.Current.DefaultAppSecret);
     this.Initialize();
 }