在上一篇读取远端电脑文件的日志中,用到了LastModified等属性。现提出全部属性"-"之前是属性名称,"-"之后属性值。供大家以后开发WMI相关程式参考。
[0]: "AccessMask - 2032127"
[1]: "Archive - True"
[2]: "Caption - c://temp//readme.txt"
[3]: "Compressed - False"
[4]: "CompressionMethod - "
[5]: "CreationClassName - CIM_LogicalFile"
[6]: "CreationDate - 20060627173952.984375+480"
[7]: "CSCreationClassName - Win32_ComputerSystem"
[8]: "CSName - FILESERVER"
[9]: "Description - c://temp//readme.txt"
[10]: "Drive - c:"
[11]: "EightDotThreeFileName - c://temp//readme.txt"
[12]: "Encrypted - False"
[13]: "EncryptionMethod - "
[14]: "Extension - txt"
[15]: "FileName - readme"
[16]: "FileSize - 0"
[17]: "FileType - Text Document"
[18]: "FSCreationClassName - Win32_FileSystem"
[19]: "FSName - NTFS"
[20]: "Hidden - False"
[21]: "InstallDate - 20060627173952.984375+480"
[22]: "InUseCount - "
[23]: "LastAccessed - 20060627173952.984375+480"
[24]: "LastModified - 20060627173952.984375+480"
[25]: "Manufacturer - "
[26]: "Name - c://temp//readme.txt"
[27]: "Path - //temp//"
[28]: "Readable - True"
[29]: "Status - OK"
[30]: "System - False"
[31]: "Version - "
[32]: "Writeable - True"