.NET

Reply
hlo
Member
3 Posts
0 Kudos
Registered: ‎03-14-2014
Post 1 of 3
Accepted Solution

Determine a Student Version

208 Views, 2 Replies
03-14-2014 02:27 AM

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

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
ADN Support Specialist
762 Posts
100 Kudos
Registered: ‎03-21-2011
Post 2 of 3

Re: Determine a Student Version

03-17-2014 01:50 AM in reply to: hlo

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

hlo
Member
3 Posts
0 Kudos
Registered: ‎03-14-2014
Post 3 of 3

Re: Determine a Student Version

03-17-2014 05:49 AM in reply to: Balaji_Ram

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!