Application\CIM_FileSpecification.mof.mof (HTML version)

Return to index
CIM_FileSpecification Superclass: CIM_Check
FileSpecification identifies a file that is either to be on or off the system. The file is to be located in the directory identified in FileName, or by the CIM_Directory SpecificationFile association. When the Invoke methods are executed, it is expected that they will use a combination of information to check for file existence. Therefore, any of the properties with a NULL value are not checked. So, if only the FileName and MD5Checksum properties have values, they are the only ones considered by the Invoke methods.
Qualifiers:Version ( "2.6.0" )
Parameters (local in grey)
MaxLen ( 1024 )
string FileName ;
Either the name of the file or the name of the file with a directory prefix.
MappingStrings { "MIF.DMTF|Software Signature|002.5" }
uint32 CRC1 ;
The CRC1 property is the CRC value calculated using the middle 512K bytes of the file.
MaxLen ( 32 )
string MD5Checksum ;
The MD5 algorithm is a well-known algorithm for computing a 128-bit checksum for any file or object. For purposes of MOF specification of the MD5Checksum property, the MD5 algorithm always generates a 32 character string. For example: The string abcdefghijklmnopqrstuvwxyz generates the string c3fcd3d76192e4007dfb496cca67e13b. See http: implementation of the MD5 algorithm.
datetime CreateTimeStamp ;
The creation date and time of the file.
Units ( "KiloBytes" )
uint64 FileSize ;
The size of the file in Kilobytes.
MappingStrings { "MIF.DMTF|Software Signature|002.4" }
uint32 CheckSum ;
A checksum calculated as the 16-bit sum of the first 32 bytes of the file.
MappingStrings { "MIF.DMTF|Software Signature|002.6" }
uint32 CRC2 ;
The CRC2 property is the CRC value for the middle 512K bytes of the file, modulo 3.
ValueMap { "0" , "1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" , "9" , "10" , "11" , "12" , "13" , "14" , "15" , "16" , "17" , "18" , "19" , "20" , "21" , "22" , "23" , "24" , "25" , "26" , "27" , "28" , "29" , "30" , "31" , "32" , "33" , "34" , "35" , "36" , "37" , "38" , "39" , "40" , "41" , "42" , "43" , "44" , "45" , "46" , "47" , "48" , "49" , "50" , "51" , "52" , "53" , "54" , "55" , "56" , "57" , "58" , "59" , "60" , "61" , "62" , "63" , "64" , "65" , "66" , "67" , "68" , "69" , "70" }
Values { "Unknown" , "Other" , "MACOS" , "ATTUNIX" , "DGUX" , "DECNT" , "Tru64 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" , "HP NonStop OS" , "HP NonStop OSS" , "BS2000" , "LINUX" , "Lynx" , "XENIX" , "VM" , "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" , "OS/390" , "VSE" , "TPF" , "Windows (R) Me" , "Caldera Open UNIX" , "OpenBSD" , "Not Applicable" , "Windows XP" , "z/OS" , "Microsoft Windows Server 2003" , "Microsoft Windows Server 2003 64-Bit" }
Propagated ( "CIM_SoftwareElement.TargetOperatingSystem" )
Key
uint16 TargetOperatingSystem ;
The Target Operating System of the SoftwareElement being checked.
ValueMap { "0" , "1" , "2" , "3" }
Values { "Deployable" , "Installable" , "Executable" , "Running" }
Propagated ( "CIM_SoftwareElement.SoftwareElementState" )
Key
uint16 SoftwareElementState ;
The SoftwareElementState of the SoftwareElement being checked.
MaxLen ( 256 )
Propagated ( "CIM_SoftwareElement.SoftwareElementID" )
Key
string SoftwareElementID ;
This is an identifier for the SoftwareElement being checked.
uint32InvokeOnSystem(
Reference to ComputerSystem in whose context the method is to be invoked.
Qualifiers:IN
CIM_ComputerSystem ref TargetSystem
)
The InvokeOnSystem method evaluates this Check. The details of the evaluation are described by the specific subclasses of CIM_Check. The method's TargetSystem input parameter specifies the ComputerSystem in whose context the method is invoked.
The results of the InvokeOnSystem method are based on the return value. A zero is returned if the condition is satisfied. A one is returned if the method is not supported. Any other value indicates the condition is not satisfied.
MaxLen ( 64 )
Propagated ( "CIM_SoftwareElement.Version" )
Key
string Version ;
The version of the SoftwareElement being checked.
uint32Invoke()
The Invoke method evaluates this Check. The details of the evaluation are described by the specific subclasses of CIM_Check. When the SoftwareElement being checked is already installed, the CIM_InstalledSoftwareElement association identifies the CIM_ComputerSystem in whose context the Invoke is executed. If this association is not in place, then the InvokeOnSystem method should be used - since it identifies the TargetSystem as an input parameter of the method.
The results of the Invoke method are based on the return value. A zero is returned if the condition is satisfied. A one is returned if the method is not supported. Any other value indicates the condition is not satisfied.
MaxLen ( 256 )
Key
string CheckID ;
An identifier used in conjunction with other keys to uniquely identify the Check.
MaxLen ( 256 )
Propagated ( "CIM_SoftwareElement.Name" )
Key
string Name ;
The name used to identify the SoftwareElement that is being checked.
boolean CheckMode ;
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 the Invoke methods are expected to return True. When the value is False, the condition is not expected to exist (e.g., a file is not to be on a system), so the Invoke methods are expected to return False.
string ElementName ;
A user-friendly name for the object. This property allows each instance to define a user-friendly name in addition to its key properties, identity data, and description information.
Note that the Name property of ManagedSystemElement is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user-friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information can be present in both the Name and ElementName properties.
MaxLen ( 64 )
string Caption ;
The Caption property is a short textual description (one- line string) of the object.
string Description ;
The Description property provides a textual description of the object.