title image


Smiley Re: HALT! STOPP!
private void getName(string drive)

{

ManagementObjectSearcher query = new

ManagementObjectSearcher("SELECT * From Win32_LogicalDisk");

ManagementObjectCollection queryCollection = query.Get();

foreach (ManagementObject mo in queryCollection)

{

if (mo["Name"].ToString() == drive)

{

try { _VolumeName = mo["VolumeName"].ToString(); }

catch { }

}



}

geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: