Open FabioZumbi12 opened 5 years ago
I am trying to use this lib on my project but i am having this erro on authenticate: (Error message: The path has an invalid format)
This is the code:
using MojangSharp.Endpoints; using MojangSharp.Responses; using System; using System.Windows.Forms; namespace AreaZ12_Launcher { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Button1_Click(object sender, EventArgs e) { AuthenticateResponse auth = new Authenticate(new Credentials() { Username = "fabio.fmagalhaes12@gmail.com", Password = "Aaaa1111" }).PerformRequestAsync().Result; if (auth.IsSuccess) { label1.Text = "Sucesso: " + auth.AccessToken; } else { label1.Text = "Erro: "; } } } }
The password its an example! I need to change something?
I am trying to use this lib on my project but i am having this erro on authenticate: (Error message: The path has an invalid format)
This is the code:
The password its an example! I need to change something?