Use WMI (namespace System.Management). Win32_DiskDrive has the information (I think) that you are looking for.
Pradeep http://www.tapadiya.net/pradeep ----- Original Message ----- From: "Shishir Kumar Mishra" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 8:48 AM Subject: [DOTNET] simple question Hi gurus! How can i get the Hard disk number from my C# program. TIA Shishir Kumar Mishra Agni Software (P) Ltd., Bangalore-560055, India www.agnisoft.com You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.