CIM_FileSpecification, ROOT\CIMV2\ms_409

Class | Childs (2) | Methods (1) | Properties (14) | Qualifiers (3) | Instances | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

A CIM_FileSpecification identifies a file that is either to be on or off the system. The file is to be located in the directory identified by the CIM_DirectorySpecificationFile associations. When the invoke() method is used, it is expected that it will use the combination of information provided to check for the file existence. Therefore, any of the properties with a NULL value are not checked. So, if only the Name and the MD5 properties have values, they are the only ones consider by the invoke() method.

CIM_FileSpecification - child subclasses in ROOT\CIMV2\ms_409

Number of classes:2
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
Win32_FileSpecification0181999---
Win32_IniFileSpecification0191----

CIM_FileSpecification methods

CIM_FileSpecification has 1 methods (1 Derived)

NameOriginReturn
InvokeCIM_Checkuint32 {'out':True}

CIM_FileSpecification properties

CIM_FileSpecification has 14 properties (6 Local, 8 Derived)

NameOriginCIMType
key
CheckID
CIM_Check8 [string]
CheckModeCIM_Check11 [boolean]
CheckSumCIM_FileSpecification19 [uint32]
CRC1CIM_FileSpecification19 [uint32]
CRC2CIM_FileSpecification19 [uint32]
CreateTimeStampCIM_FileSpecification101 [datetime]
DescriptionCIM_Check8 [string]
FileSizeCIM_FileSpecification21 [uint64]
MD5ChecksumCIM_FileSpecification8 [string]
NameCIM_Check8 [string]
SoftwareElementIDCIM_Check8 [string]
SoftwareElementStateCIM_Check18 [uint16]
TargetOperatingSystemCIM_Check18 [uint16]
VersionCIM_Check8 [string]

Detailed description of CIM_FileSpecification methods

Derived methods (1) of CIM_FileSpecification class

Invoke method
Returnuint32 {'out':True}
Description' The invoke method is to evaluate a particular check. The details of how the method evaluates a particular check in a CIM context is described by the non-abstract CIM_Check sub classes. The results of the method are based on the return value. - A 0 (zero) is returned if the condition is satisfied. - A 1 (one) is returned if the method is not supported. - Any other value indicates the condition is not satisfied. '
Invoke method is in 48 classes of ROOT\CIMV2\ms_409 and in 4 namespaces

Detailed description of CIM_FileSpecification properties

Local properties (6) of CIM_FileSpecification class

CheckSum property
CIMTYPE'uint32'
Description' The Checksum property is a checksum calculated as the 16-bit sum of the first 32 bytes of the file.'
CheckSum property is in 3 classes of ROOT\CIMV2\ms_409 and in 6 namespaces
CRC1 property
CIMTYPE'uint32'
Description' The CRC1 property is the CRC value calculated using the middle 512K bytes.'
CRC1 property is in 3 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
CRC2 property
CIMTYPE'uint32'
Description' The CRC2 is the CRC value for the middle 512K bytes with a offset modulo 3 to the start of the file of zero.'
CRC2 property is in 3 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
CreateTimeStamp property
CIMTYPE'datetime'
Description'The creation date and time of the file. '
CreateTimeStamp property is in 3 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
FileSize property
CIMTYPE'uint64'
units'kilobytes'
FileSize property is in 12 classes of ROOT\CIMV2\ms_409 and in 6 namespaces
MD5Checksum property
CIMTYPE'string'
Description' The MD5 algorithm is a well-known algorithm for computing a 128-bit checksum for any file or object. The likelihood of two different files producing the same MD5 checksum is very small (about 1 in 2^64), and as such, the MD5 checksum of a file can be used to construct a reliable content identifier that is very likely to uniquely identify the file. The reverse is also true. If two files have the same MD5 checksum, it is very likely that the files are identical. For purposes of MOF specification of the MD5 property, the MD5 algorithm always generates a 32 character string. For example: The string abcdefghijklmnopqrstuvwxyz generates the string c3fcd3d76192e4007dfb496cca67e13b. See http://www. rsa.com/pub/rfc1321.txt for details on the implementation of the MD5 algorithm.'
MD5Checksum property is in 3 classes of ROOT\CIMV2\ms_409 and in 2 namespaces

Derived properties (8) of CIM_FileSpecification class

CheckID property
CIMTYPE'string'
Description'An identifier used in conjunction with other keys to uniquely identify the check'
keyTrue
CheckID property is in 23 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
CheckMode property
CIMTYPE'boolean'
Description' The CheckMode property is used to indicate whether the condition is expected to exist or not exist in the environment. When the value is True, the condition is expected to exist (e.g., a file is expected to be on a system) so invoke() is expected to return True. When the value is False, the condition is not expect to exist (e.g., a file is not to be on a system) so invoke is expected to return false '
CheckMode property is in 23 classes of ROOT\CIMV2\ms_409 and in 2 namespaces
Description property
CIMTYPE'string'
Description' A description of the objects.'
Description property is in 329 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
Name property
CIMTYPE'string'
Description' Either the name of the file or the name of the file with a directory prefix. '
Name property is in 306 classes of ROOT\CIMV2\ms_409 and in 142 namespaces
SoftwareElementID property
CIMTYPE'string'
Description' This is an identifier for this software element.'
SoftwareElementID property is in 53 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
SoftwareElementState property
CIMTYPE'uint16'
Description' The software element state of a software element '
Values['Deployable', 'Installable', 'Executable', 'Running']
SoftwareElementState property is in 53 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
TargetOperatingSystem property
CIMTYPE'uint16'
Description' The target operating system of the this software element.'
Values['Unknown', 'Other', 'MACOS', 'ATTUNIX', 'DGUX', 'DECNT', 'Digital Unix', 'OpenVMS', 'HPUX', 'AIX', 'MVS', 'OS400', 'OS/2', 'JavaVM', 'MSDOS', 'WIN3x', 'WIN95', 'WIN98', 'WINNT', 'WINCE', 'NCR3000', 'NetWare', 'OSF', 'DC/OS', 'Reliant UNIX', 'SCO UnixWare', 'SCO OpenServer', 'Sequent', 'IRIX', 'Solaris', 'SunOS', 'U6000', 'ASERIES', 'TandemNSK', 'TandemNT', 'BS2000', 'LINUX', 'Lynx', 'XENIX', 'VM/ESA', 'Interactive UNIX', 'BSDUNIX', 'FreeBSD', 'NetBSD', 'GNU Hurd', 'OS9', 'MACH Kernel', 'Inferno', 'QNX', 'EPOC', 'IxWorks', 'VxWorks', 'MiNT', 'BeOS', 'HP MPE', 'NextStep', 'PalmPilot', 'Rhapsody', 'Windows 2000', 'Dedicated', 'VSE', 'TPF']
TargetOperatingSystem property is in 53 classes of ROOT\CIMV2\ms_409 and in 3 namespaces
Version property
CIMTYPE'string'
Description'Version should be in the form .. or .'
Version property is in 96 classes of ROOT\CIMV2\ms_409 and in 142 namespaces

CIM_FileSpecification Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
AMENDMENTTrue
Description' A CIM_FileSpecification identifies a file that is either to be on or off the system. The file is to be located in the directory identified by the CIM_DirectorySpecificationFile associations. When the invoke() method is used, it is expected that it will use the combination of information provided to check for the file existence. Therefore, any of the properties with a NULL value are not checked. So, if only the Name and the MD5 properties have values, they are the only ones consider by the invoke() method. '
LOCALE1033

CIM_FileSpecification System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\CIMV2\ms_409:CIM_FileSpecification'___SYSTEM8
__NAMESPACE'ROOT\CIMV2\ms_409'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_Check']___SYSTEM8
__PROPERTY_COUNT14___SYSTEM3
__RELPATH'CIM_FileSpecification'___SYSTEM8
__DYNASTY'CIM_Check'___SYSTEM8
__SUPERCLASS'CIM_Check'___SYSTEM8
__CLASS'CIM_FileSpecification'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to CIM_FileSpecification

Number of classes:13
comments powered by Disqus
WUtils.com