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

productkey replacement in dot net 4

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
JeffatSJE
1132 Views, 4 Replies

productkey replacement in dot net 4

Anyone know the replacement for the following property:

 

Autodesk.AutoCAD.Runtime.SystemObjects.DynamicLinker.ProductKey

 

 

Thanks

J.

 

4 REPLIES 4
Message 2 of 5
_gile
in reply to: JeffatSJE

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
in reply to: _gile

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
Message 4 of 5
StephenPreston
in reply to: JeffatSJE

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
Message 5 of 5
CADbloke
in reply to: JeffatSJE

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

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