DeviceEnumerateDevices Method (String, DeviceGuid) |
Enumerates all available devices of type
DeviceGuid on the local or remote host.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
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:
IEnumerableDeviceInfoReturns
IEnumerableT instances of type
DeviceGuid for the specified
hostName.
See Also