Пример #1
0
        public async Task UserInfo_Disposed()
        {
            tc = new TumblrClientFactory().Create <TumblrClient>(_consumerKey, _consumerSecret, new Token(_accessKey, _accessSecret));

            tc.Dispose();

            var userInfo = await tc.GetUserInfoAsync();
        }
Пример #2
0
        private void FrAuthenticate_FormClosed(object sender, FormClosedEventArgs e)
        {
            if (tumblrClient != null)
            {
                tumblrClient.Dispose();

                tumblrUrlProtocol.Remove();
            }
        }