cancel
Showing results for 
Search instead for 
Did you mean: 

api connect to mega question

Solved
Highlighted
Contributor

api connect to mega question

Hello,

 

I have a small tool that connects to mega with this code :

 

If CBool(CurEnv.IsSessionOpen) Then
    oRoot = CurEnv.GetRoot("mykey")
Else ' if there is not a session open, the following will launch a Mega connection window
    oRoot = CurEnv.GetRoot
End If

 

This code seems to work fine, except after a "compare and align". Then i need to restart mega each time to let it work again.

 

Any idea on this?

 

kind regards,

Wim VdV

1 Reply
Contributor

Re: api connect to mega question

Hello,

Yes you need to close all instance of mega and initiate the session again.

 

regards,

Imran Usman Khatyan