public List<KeyValuePair<string, string>> GetTokens() { if (this.tokens == null) { throw new Exception("You must load tokens first, either with xml or directly."); } return this.tokens; }