Monday, January 31, 2011

AutoCAD Mof File for all versions

:::::::::::::::SMS_def.mof file:::::::::::::::

#pragma namespace ("\\\\.\\root\\cimv2\\sms")

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 14"),
SMS_Class_ID ("CUSTOM|AUTOCAD_14|1.0") ]
class Win32Reg_AutoCAD_14 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2000"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2000|1.0") ]
class Win32Reg_AutoCAD_2000 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2000i"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2000i|1.0") ]
class Win32Reg_AutoCAD_2000i : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2002"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2002|1.0") ]
class Win32Reg_AutoCAD_2002 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2004"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2004|1.0") ]
class Win32Reg_AutoCAD_2004 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2005"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2005|1.0") ]
class Win32Reg_AutoCAD_2005 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2006"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2006|1.0") ]
class Win32Reg_AutoCAD_2006 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2007"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2007|1.0") ]
class Win32Reg_AutoCAD_2007 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2008"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2008|1.0") ]
class Win32Reg_AutoCAD_2008 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2009"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2009|1.0") ]
class Win32Reg_AutoCAD_2009 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2010"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2010|1.0") ]
class Win32Reg_AutoCAD_2010 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD 2011"),
SMS_Class_ID ("CUSTOM|AUTOCAD_2011|1.0") ]
class Win32Reg_AutoCAD_2011 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[SMS_Report(TRUE),SMS_Group_Name("AutoCAD 2012"),SMS_Class_ID("Custom|Autocad_2012|1.0"),
SMS_Context_1("__ProviderArchitecture=32|uint32"),
SMS_Context_2("__RequiredArchitecture=true|boolean")]
Class Win32Reg_Autocad_2012: SMS_Class_Template
{
[SMS_Report(TRUE),key] string KeyName;
[SMS_Report(TRUE)] String ProductName;
[SMS_Report(TRUE)] String Release;
[SMS_Report(TRUE)] String SerialNumber;
[SMS_Report(TRUE)] String StandaloneNetworkType;
};

[SMS_Report(TRUE),SMS_Group_Name("AutoCAD 2012"),SMS_Class_ID("Custom|Autocad_2012|1.0"),
SMS_Context_1("__ProviderArchitecture=64|uint32"),
SMS_Context_2("__RequiredArchitecture=true|boolean")]
Class Win32Reg_Autocad_2012_64 : SMS_Class_Template
{
[SMS_Report(TRUE),key] string KeyName;
[SMS_Report(TRUE)] String ProductName;
[SMS_Report(TRUE)] String Release;
[SMS_Report(TRUE)] String SerialNumber;
[SMS_Report(TRUE)] String StandaloneNetworkType;
};

//***************************************
//* AutoCAD LT Starts Here
//***************************************

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 97"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_97|1.0") ]
class Win32Reg_AutoCAD_LT_97 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2000"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2000|1.0") ]
class Win32Reg_AutoCAD_LT_2000 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2000i"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2000i|1.0") ]
class Win32Reg_AutoCAD_LT_2000i : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2002"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2002|1.0") ]
class Win32Reg_AutoCAD_LT_2002 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2004"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2004|1.0") ]
class Win32Reg_AutoCAD_LT_2004 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2005"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2005|1.0") ]
class Win32Reg_AutoCAD_LT_2005 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2006"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2006|1.0") ]
class Win32Reg_AutoCAD_LT_2006 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2007"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2007|1.0") ]
class Win32Reg_AutoCAD_LT_2007 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2008"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2008|1.0") ]
class Win32Reg_AutoCAD_LT_2008 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2009"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2009|1.0") ]
class Win32Reg_AutoCAD_LT_2009 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2010"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2010|1.0") ]
class Win32Reg_AutoCAD_LT_2010 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("AutoCAD LT 2011"),
SMS_Class_ID ("CUSTOM|AUTOCAD_LT_2011|1.0") ]
class Win32Reg_AutoCAD_LT_2011 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

//***************************************
//* Inventor Starts Here
//***************************************

[ SMS_Report (TRUE),
SMS_Group_Name ("Inventor"),
SMS_Class_ID ("CUSTOM|AUTODESK_INVENTOR|1.0") ]
class Win32Reg_Autodesk_Inventor : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

//***************************************
//* 3dsmax Starts Here
//***************************************

[ SMS_Report (TRUE),
SMS_Group_Name ("3dsmax 9"),
SMS_Class_ID ("CUSTOM|3dsmax_9|1.0") ]
class Win32Reg_3dsmax_9 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("3dsmax 13"),
SMS_Class_ID ("CUSTOM|3dsmax_13|1.0") ]
class Win32Reg_3dsmax_13 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

[ SMS_Report (TRUE),
SMS_Group_Name ("3dsmax 14"),
SMS_Class_ID ("CUSTOM|3dsmax_14|1.0") ]
class Win32Reg_3dsmax_14 : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Release;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string StandaloneNetworkType;
};

//********************
//Algor Starts here
//**********************

[ SMS_Report (TRUE),
SMS_Group_Name ("Algor"),
SMS_Class_ID ("CUSTOM|Algor_All|1.0") ]
class Win32Reg_Algor : SMS_Class_Template
{
    [SMS_Report (TRUE), Key ] string KeyName;
    [SMS_Report (TRUE)] string ProductName;
    [SMS_Report (TRUE)] string Version;
    [SMS_Report (TRUE)] string SerialNumber;
    [SMS_Report (TRUE)] string InstallationType;
};

:::::Configuration.mof file:::::

 

#pragma namespace("\\\\.\\root\\cimv2")

//***************************************
//* AutoCAD Starts Here
//***************************************

// AutoCAD 14
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R14.0")
]

class Win32Reg_AutoCAD_14
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

// AutoCAD 2000
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R15.0")
]

class Win32Reg_AutoCAD_2000
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

// AutoCAD 2000i
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R15.1")
]

class Win32Reg_AutoCAD_2000i
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

// AutoCAD (including Mechanical) 2002
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R15.2")
]

class Win32Reg_AutoCAD_2002
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD (including Mechanical) 2004
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R16.0")
]

class Win32Reg_AutoCAD_2004
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD (including Electrical & Mechanical) 2005
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R16.1")
]

class Win32Reg_AutoCAD_2005
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD (including Electrical & Mechanical) 2006
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R16.2")
]

class Win32Reg_AutoCAD_2006
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD (including Electrical & Mechanical) 2007
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R17.0")
]

class Win32Reg_AutoCAD_2007
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD (including Electrical & Mechanical) 2008
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R17.1")
]

class Win32Reg_AutoCAD_2008
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD (including Electrical & Mechanical) 2009
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R17.2")
]

class Win32Reg_AutoCAD_2009
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD (including Electrical & Mechanical) 2010
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R18.0")
]

class Win32Reg_AutoCAD_2010
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD (including Electrical & Mechanical) 2011
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R18.1")
]

class Win32Reg_AutoCAD_2011
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD (including Electrical & Mechanical) 2012

[dynamic, provider("RegProv"), ClassContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R18.2")]
Class Win32Reg_Autocad_2012
{
[key] string KeyName;
[PropertyContext("ProductName")] String ProductName;
[PropertyContext("Release")] String Release;
[PropertyContext("SerialNumber")] String SerialNumber;
[PropertyContext("StandaloneNetworkType")] String StandaloneNetworkType;
};

#pragma namespace ("\\\\.\\root\\cimv2")
//#pragma deleteclass("Win32Reg_Autocad_2012_64", NOFAIL)
[dynamic, provider("RegProv"), ClassContext("Local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD\\R18.2")]
Class Win32Reg_Autocad_2012_64
{
[key] string KeyName;
[PropertyContext("ProductName")] String ProductName;
[PropertyContext("Release")] String Release;
[PropertyContext("SerialNumber")] String SerialNumber;
[PropertyContext("StandaloneNetworkType")] String StandaloneNetworkType;
};

//***************************************
//* AutoCAD LT Starts Here
//***************************************

//AutoCAD LT 97
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R4")
]

class Win32Reg_AutoCAD_LT_97
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2000
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R6")
]

class Win32Reg_AutoCAD_LT_2000
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2000i
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R7")
]

class Win32Reg_AutoCAD_LT_2000i
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2002
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R8")
]

class Win32Reg_AutoCAD_LT_2002
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2004
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R9")
]

class Win32Reg_AutoCAD_LT_2004
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2005
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R10")
]

class Win32Reg_AutoCAD_LT_2005
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2006
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R11")
]

class Win32Reg_AutoCAD_LT_2006
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2007
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R12")
]

class Win32Reg_AutoCAD_LT_2007
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2008
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R13")
]

class Win32Reg_AutoCAD_LT_2008
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2009
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R14")
]

class Win32Reg_AutoCAD_LT_2009
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2010
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R15")
]

class Win32Reg_AutoCAD_LT_2010
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//AutoCAD LT 2011
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\AutoCAD LT\\R16")
]

class Win32Reg_AutoCAD_LT_2011
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//***************************************
//* Inventor Starts Here
//***************************************

//All Inventor
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\Inventor")
]

class Win32Reg_Autodesk_Inventor
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//***************************************
//* 3dsmax Starts Here
//***************************************

//3dsmax 9
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\3dsmax\\9.0")
]

class Win32Reg_3dsmax_9
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//3dsmax 13
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\3dsmax\\13.0")
]

class Win32Reg_3dsmax_13
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//3dsmax 14
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Autodesk\\3dsmax\\14.0")
]

class Win32Reg_3dsmax_14
{
    [Key] string KeyName;
    [PropertyContext("ProductName")] string ProductName;
    [PropertyContext("Release")] string Release;
    [PropertyContext("SerialNumber")] string SerialNumber;
    [PropertyContext("StandaloneNetworkType")] string StandaloneNetworkType;
};

//***************************************
//* Algor Starts Here
//***************************************
[ dynamic,
provider("RegProv"),
ClassContext("local|HKEY_LOCAL_MACHINE\\SOFTWARE\\Algor, Inc.\\Algor Software\\Algor")
]

class Win32Reg_Algor
{
    [Key] string KeyName;
    [PropertyContext("Product Name")] string ProductName;
    [PropertyContext("Version")] string Version;
    [PropertyContext("Serial Number")] string SerialNumber;
    [PropertyContext("Installation Type")] string InstallationType;
};

//Total Auto Desk END******************************************************************************

1 comment: