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; }
public Helper() { core = new CoreAPI(coreID, accessToken); //, new System.Net.WebProxy("127.0.0.1", 8888)); }