public string GetAccessToken(string host) { for (int iKnownHost = 0; iKnownHost < KnownHosts.Count(); ++iKnownHost) { if (host == KnownHosts[iKnownHost]) { return(KnownAccessTokens.Length > iKnownHost ? KnownAccessTokens[iKnownHost] : String.Empty); } } return(String.Empty); }