Hello everyone!Well, I'm beginner at programming. So, can anyone tell what " CS0619 'DropboxLogin.DropboxLogin(string, string, bool, bool)" is an old version: 'Please use an overloads with a return url.' "it exactly means?
1).NET Framework 4.5
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using Nemiro.OAuth;using Nemiro.OAuth.LoginForms;
2)3) Well, the part of the code, in which I use this constuction
private void GetAccessToken() { var login = new DropboxLogin("n1d21hsifzp1ye5", "n1d21hsifzp1ye5", true, true); login.Owner = this; login.ShowDialog(); if (login.IsSuccessfully) { Properties.Settings.Default.AccessToken = login.AccessToken.Value; Properties.Settings.Default.Save(); } else { MessageBox.Show("error..."); } }
Thanks! It looks like you're referring to using Nemiro.OAuth.LoginForms, which is made by a third party, so I'm afraid I can't offer support for it. This error is coming from that library, not the Dropbox API itself. I recommend referring to the documentation for that library, or opening an issue for it.