Click here to Skip to main content
15,886,519 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello, I have an application in C# using MegaApiClient and it's working normally but when I upload a file it blocks the account and says to change the password and I can't solve it for a while, will you be able to help me solve this problem.


What I have tried:

 private async Task UploadArquivo(string pArquivo)
        {
            listStatus.Items.Clear();

            MegaApiClient MClient = new MegaApiClient();

            listStatus.Items.Add(DateTime.Now.ToString("dd/MM/yyyy HH:mm:ss") + " Iniciando...");

            try
            {
                /*--------------Upload--------------*/
                MClient.Login("cristi676767ano@gmail.com", "*********");

                if (MClient.IsLoggedIn)
                {
//upload.
				}
			}
		}
Posted
Updated 18-Jan-23 5:06am
Comments
Graeme_Grant 17-Jan-23 16:15pm    
you need to go to the maker of that library for help: GitHub - gpailler/MegaApiClient[^]
Cristiano Rogoy 2023 18-Jan-23 8:59am    
Excuse my ignorance, but do you have an example or video of how to do this?
Graeme_Grant 18-Jan-23 16:31pm    
Please read what I wrote. You need to contact the author.

1 solution

⚠️ TLS 1.2 support should be enforced when using .NET Framework <= 4.7 or all the API calls to Mega will hang.


Just for interest sake; what .Net framework are you using ?
 
Share this answer
 
Comments
Cristiano Rogoy 2023 18-Jan-23 12:47pm    
I'm using .net version 4.7.2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900