Win32_Binary class
The Win32_Binary WMI class represents binary information (such as bitmaps, icons, executable files, and so on) that are used by an installation.
Note For more information about support or requirements for installation on a specific operating system, see Operating System Availability of WMI Components.
The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties and methods are in alphabetic order, not MOF order.
Syntax
class Win32_Binary : Win32_MSIResource
{
string Caption;
string Data;
string Description;
string Name;
string ProductCode;
string SettingID;
};
Members
The Win32_Binary class has these types of members:
Properties
The Win32_Binary class has these properties.
- Caption
-
- Data type: string
- Access type: Read-only
Short textual description (one line) of the CIM_Setting object.
- Data
-
- Data type: string
- Access type: Read-only
Binary data associated with the object.
- Description
-
- Data type: string
- Access type: Read-only
Textual description of the CIM_Setting object.
- Name
-
- Data type: string
- Access type: Read-only
- Qualifiers: Key
Name used to identify the object.
- ProductCode
-
- Data type: string
- Access type: Read-only
- Qualifiers: Key
Product code for the product of which this binary is a part.
- SettingID
-
- Data type: string
- Access type: Read-only
Identifier by which the CIM_Setting object is known.
Remarks
The Win32_Binary class is derived from Win32_MSIResource.
Examples
For script code examples, see WMI Tasks for Scripts and Applications and the TechNet ScriptCenter Script Repository.
For C++ code examples, see WMI C++ Application Examples.
Requirements
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Namespace |
\root\CIMV2 |
|
MOF |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 11/19/2012