public static string GetRiotVersion() { if (_version == null) { using (FileReader reader = new FileReader()) { string json = reader.GetFileString("Resources.config.json"); _version = json; } } return _version; }