License solution

License solution

Anonymous
Not applicable
886 Views
5 Replies
Message 1 of 6

License solution

Anonymous
Not applicable

Hi Everybody!

 

I have a big problem when I code license for my apps.

 

a) I want make a new file to write some infomation, but when UAC turn on, I can not write any file into some Folder (ex: Revit in Program Files)

 

b) Could you tell me any solution for app in Revit?

 

Thank you so much!

0 Likes
887 Views
5 Replies
Replies (5)
Message 2 of 6

augusto.goncalves
Alumni
Alumni
If your apps are on the Autodesk Exchange Store, you can use the Entitlement API, check a sample at http://adndevblog.typepad.com/aec/2015/04/entitlement-api-for-revit-exchange-store-apps.html
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes
Message 3 of 6

Anonymous
Not applicable

Thank you Augusto goncalves!

 

After read your link, I understood about two new functions on Revit API 2016. It is useful! Thanks again.

 

But It requires Internet connection, and checking in Revit Exchange Store.

 

Sometime our user are disconnected. Or they get our apps directly from us. So Is there any solution?

 

Best regards.

 

 

0 Likes
Message 4 of 6

augusto.goncalves
Alumni
Alumni
This will work only your app was downloaded from the Autodesk Exchange Store, that's how we keep track (who downloaded & payed for what)

And you don't need to check every time... maybe once or twice a month?

If you believe this will not work for you, try check an alternative solution like http://adndevblog.typepad.com/autocad/2012/08/licensing-applications-infralution.html
Regards,



Augusto Goncalves
Twitter @augustomaia
Autodesk Developer Network
0 Likes
Message 5 of 6

Anonymous
Not applicable

Thanks so much for Infralution. I will try for the next time.

 

And could you have any solution for my problem (a).?

 

Thank you in advance.

 

 

 

 

 

0 Likes
Message 6 of 6

Anonymous
Not applicable

Hi!

 

I search about UAC, and i have a solution that embed manifest file into DLL.

 

Who can tell me detail the way to add manifest file into DLL of Revit API, and how will it work?

 

Thank you! 

0 Likes