Click or drag to resize

InventoryDirectoriesOnly Class

Inventories the input directory and all of its sub-directories. File system metadata is returned for every directory.
Inheritance Hierarchy
SystemObject
  OpenDiscoverSDK.Platform.InventoryInventoryDirectoriesOnly

Namespace: OpenDiscoverSDK.Platform.Inventory
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2025.4.4.0 (2025.4.4)
Syntax
C#
public class InventoryDirectoriesOnly

The InventoryDirectoriesOnly type exposes the following members.

Constructors
 NameDescription
Public methodInventoryDirectoriesOnly Constructor.
Top
Properties
 NameDescription
Public propertyCurrentTotalDirectoryCount Total current number of directories enumerated.
Public propertyInventoryUpdateEventMaxDirectoryCount Gets or sets the directory count threshold that triggers the OnInventoryUpdate event. The default value is 1,000,000 directories and the maximum value is 10,0000,000.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodStartInventory 
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventOnInventoryUpdate This event is called using a maximum directory enumerated count threshold that triggers this event. An event handler subscriber is required.
Top
Remarks
Since modern file systems can contain petabytes of directories and files, this class has an event OnInventoryUpdate that is called when the maximum directory enumerated count threshold InventoryUpdateEventMaxDirectoryCount is reached and/or when all directories have been enumerated.
See Also