InventoryInstanceElementFileSystemFile Class
Represents an inventory instance for a file collection.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Inheritance Hierarchy
System.Object
Microsoft.ConfigurationManagement.Messaging.Messages.InventoryInstanceElement
Microsoft.ConfigurationManagement.Messaging.Messages.InventoryInstanceElementFileSystemFile
Syntax
[SerializableAttribute]
public sealed class InventoryInstanceElementFileSystemFile : InventoryInstanceElement
[SerializableAttribute]
public ref class InventoryInstanceElementFileSystemFile sealed : InventoryInstanceElement
<SerializableAttribute>
Public NotInheritable Class InventoryInstanceElementFileSystemFile
Inherits InventoryInstanceElement
Constructors
Name | Description | |
---|---|---|
InventoryInstanceElementFileSystemFile() | Initializes a new instance of the InventoryInstanceElementFileSystemFile class. |
|
InventoryInstanceElementFileSystemFile(FileInfo) | Initializes a new instance of the InventoryInstanceElementFileSystemFile class. |
Properties
Name | Description | |
---|---|---|
BaseClass | Gets the class for the instance. (Inherited from InventoryInstanceElement.) |
|
CompanyName | Gets or sets the company name for the file. |
|
FileDescription | Gets or sets the internal description of the file. |
|
FileName | Gets or sets the name of the file. |
|
FilePath | Gets or sets the full path to the file. |
|
FileVersion | Gets or sets the file version. |
|
LastWriteDate | Gets or sets the last write date of the file. |
|
LastWriteDateString | Gets or sets the last write date of the file as a string. This property is only for serialization. Use LastWriteDate instead. |
|
Namespace | Gets the WMI namespace for the instance. (Inherited from InventoryInstanceElement.) |
|
ParentClass | Gets the parent class for the instance. (Inherited from InventoryInstanceElement.) |
|
ProductLanguage | Gets or sets the language of the file. |
|
ProductName | Gets or sets the product name. |
|
ProductVersion | Gets or sets the product version. |
|
Size | Gets or sets the file size, in bytes. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetDirectoryFileDetails(String, String, Boolean) | Gets details for all of the files in a directory. |
|
GetDirectoryFileDetails(String, String, Boolean, Boolean) | Gets details for all of the files in a directory. |
|
GetFileDetails(FileInfo, Boolean) | Gets the details of a file. |
|
GetFileDetails(String) | Gets the details of a file. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top