UtilDrivesGetWin32LogicalDisk(Char) Method
Gets a ManagementObject which wraps a instance of 'Win32_LogicalDisk' WMI class for the specified drive.
Namespace: DevCase.Core.IO.Devices.DrivesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static ManagementObject GetWin32LogicalDisk(
char driveLetter
)
Public Shared Function GetWin32LogicalDisk (
driveLetter As Char
) As ManagementObject
Dim driveLetter As Char
Dim returnValue As ManagementObject
returnValue = UtilDrives.GetWin32LogicalDisk(driveLetter)
public:
static ManagementObject^ GetWin32LogicalDisk(
wchar_t driveLetter
)
static member GetWin32LogicalDisk :
driveLetter : char -> ManagementObject
No code example is currently available or this language may not be supported.
- driveLetter Char
-
The drive letter, such as "C" or "D".
ManagementObject
A
ManagementObject which wraps a instance of 'Win32_LogicalDisk' WMI class for the specified drive.
This is a code example.
No code example is currently available or this language may not be supported.
Using win32LogicalDisk As ManagementObject = GetWin32LogicalDisk("C"c)
Console.WriteLine(win32LogicalDisk.GetPropertyValue("Name").ToString())
Console.WriteLine(win32LogicalDisk.GetPropertyValue("FileSystem").ToString())
End Using
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.