TestimoX

API Reference

Enum

SmbShareCollectionProvider

Namespace ComputerX.Smb
Assembly ComputerX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Selects the provider used to collect SMB share metadata and security descriptors.

Inheritance

  • Enum
  • SmbShareCollectionProvider

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const SmbShareCollectionProvider Auto #

Use the native Windows provider first and fall back to WMI when native collection is unavailable.

Value: 0
public const SmbShareCollectionProvider Native #

Use NetApi32 share APIs.

Value: 1
public const SmbShareCollectionProvider Wmi #

Use WMI classes such as Win32_Share and Win32_LogicalShareSecuritySetting.

Value: 2