Example #1
0
        public static CoreAPI GetCoreAPI()
        {
            CoreAPI core;

                AppSettingsReader reader = new AppSettingsReader();

                core = new CoreAPI(reader.GetValue("AccessToken", typeof(string)).ToString(),
                    reader.GetValue("CoreID", typeof(string)).ToString());

                return core;
        }
Example #2
0
 public Helper()
 {
     core = new CoreAPI(coreID, accessToken); //, new System.Net.WebProxy("127.0.0.1", 8888));
 }