예제 #1
0
        private async void button22_Click(object sender, EventArgs e)
        {
            TimeSpan uptime = await TwitchApi.GetUptime(textBox26.Text);

            MessageBox.Show(string.Format("uptime: {0} days, {1} hours, {2} minutes, {3} seconds", uptime.Days, uptime.Hours, uptime.Minutes, uptime.Seconds));
        }