productkey replacement in dot net 4

productkey replacement in dot net 4

Anonymous
Not applicable
1,715 Views
4 Replies
Message 1 of 5

productkey replacement in dot net 4

Anonymous
Not applicable

Anyone know the replacement for the following property:

 

Autodesk.AutoCAD.Runtime.SystemObjects.DynamicLinker.ProductKey

 

 

Thanks

J.

 

0 Likes
Accepted solutions (1)
1,716 Views
4 Replies
Replies (4)
Message 2 of 5

_gile
Consultant
Consultant
Accepted solution

Hi,

 

Have a look at the ObjectARX 2013\Docs\arxmgd.chm file: Migration Guide > .NET Migration Guide > Changed .NET API:

 

Autodesk.AutoCAD.DatabaseServices.HostApplicationServices.Current.UserRegistryProductRootKey

or 

Autodesk.AutoCAD.DatabaseServices.HostApplicationServices.Current.MachineRegistryProductRootKey



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 5

CADbloke
Advocate
Advocate

Really?

 

Because all I see in that section of the Docs is ...

 

Class
Declaration
Previous Declaration
AssocPersSubentityId
public static void CreateObjectAndDwgInFields(Database database, DwgFiler filer, ref AssocPersSubentityId createdPersSubentId);
static Acad::ErrorStatus createObjectAndDwgInFields(AcDbDwgFiler* pFiler, AcDbAssocPersSubentId*& pCreatedPersSubentId);
SymbolUtilityServices
public static string PreValidateSymbolName(string symbolName, [MarshalAs(UnmanagedType.U1)] bool preserveCase);
public static string PreValidateSymbolName([MarshalAs(UnmanagedType.U1)] bool preserveCase);
View
public Extents2d ViewportExtents;
public Extents2d ViewportD; 
- - - - - - -
working on all sorts of things including www.tvCAD.tv & www.CADreplace.com
0 Likes
Message 4 of 5

StephenPreston
Alumni
Alumni

You're looking in the Changed function list. Look in the Removed function list (which documents the functions to use instead).

Cheers,

Stephen Preston
Autodesk Developer Network
0 Likes
Message 5 of 5

CADbloke
Advocate
Advocate

Ah, yes I did. I followed "Migration Guide > .NET Migration Guide > Changed .NET API:" from above. 

 

Thanks.

- - - - - - -
working on all sorts of things including www.tvCAD.tv & www.CADreplace.com
0 Likes