DeviceEnumerateDevices Method (String, DeviceGuid) |
[AlphaFS] Enumerates all available devices of type
DeviceGuid on the local or remote host.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static IEnumerable<DeviceInfo> EnumerateDevices(
string hostName,
DeviceGuid deviceGuid
)
Public Shared Function EnumerateDevices (
hostName As String,
deviceGuid As DeviceGuid
) As IEnumerable(Of DeviceInfo)
public:
static IEnumerable<DeviceInfo^>^ EnumerateDevices(
String^ hostName,
DeviceGuid deviceGuid
)
static member EnumerateDevices :
hostName : string *
deviceGuid : DeviceGuid -> IEnumerable<DeviceInfo>
Parameters
- hostName
- Type: SystemString
The name of the local or remote host on which the device resides. refers to the local host. - deviceGuid
- Type: Alphaleonis.Win32.FilesystemDeviceGuid
One of the DeviceGuid devices.
Return Value
Type:
IEnumerableDeviceInfoIEnumerableT instances of type
DeviceGuid for the specified
hostName.
See Also