Exemplo n.º 1
0
        public static async Task <ResVersion> GetAssetVersion(int version)
        {
            var url  = MatsuriHimeApi.AssetVersion(version);
            var text = await WebCommon.HttpClient.GetStringAsync(url);

            var result = DeserializeString <ResVersion>(text);

            return(result);
        }
Exemplo n.º 2
0
        public static async Task <LatestVersion> GetLatestVersion()
        {
            var url  = MatsuriHimeApi.LatestVersion();
            var text = await WebCommon.HttpClient.GetStringAsync(url);

            var result = DeserializeString <LatestVersion>(text);

            return(result);
        }