GetValue() private méthode

private GetValue ( string pathname ) : string
pathname string
Résultat string
Exemple #1
0
 public bool Exists()
 {
     try
     {
         wmisession.GetValue(name);
         return(true);
     }
     catch (ManagementException me) {
         if (me.ErrorCode == ManagementStatus.AccessDenied)
         {
             throw;
         }
         return(false);
     }
     catch
     {
         return(false);
     }
 }