.NET

Reply
hlo
New Member
hlo
Posts: 2
Registered: ‎03-14-2014
Message 1 of 3 (203 Views)
Accepted Solution

Determine a Student Version

203 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
Balaji_Ram
Posts: 749
Registered: ‎03-21-2011
Message 2 of 3 (160 Views)

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
New Member
hlo
Posts: 2
Registered: ‎03-14-2014
Message 3 of 3 (144 Views)

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
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.