.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Determine a Student Version

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Henk_Loonstra
1353 Views, 2 Replies

Determine a Student Version

Is it possible with .NET to determine if AutoCAD is used as a student version?

 

The only way I can think of is getting the Application.MainWindow.Text property and check for "STUDENT VERSION", but I don't know if it is reliable enough.

 

Thanks,

Henk

2 REPLIES 2
Message 2 of 3
Balaji_Ram
in reply to: Henk_Loonstra

Hi Henk,

 

Here is the content from a Devnote on this topic. Hope this helps.

 

<<<

 

How to know if an educational copy of AutoCAD is run?

Published date: 2008-03-07 
ID: TS86785

 

Issue

I would like to sell my add-on product for AutoCAD into the educational market at a greatly reduced price. I need to deterimine if I am running on an educational copy or my users will simply move the add-on to a normal copy.

Is there any way for me to query the database so that I can enforce the "educational" setting in my own license?

Solution

There are two ways to know if an educational copy is run:

1. AcDbDatabase::isEMR() method. You will need to create a temporary drawing file to test.

2. Another method would be to read the serial number of the AutoCAD host. It will have an Edu prefix.

 

>>>
 
Regards,
Balaji


Balaji
Developer Technical Services
Autodesk Developer Network

Message 3 of 3
Henk_Loonstra
in reply to: Balaji_Ram

Thank you very much. Both methods are usable for me!

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost