Exemplo n.º 1
0
        public string GetProperty(GetPropertyOpSettings settings)
        {
            SingleResponse response = MakeSingleRequest("GetProperty", settings);

            if (response.Value == null)
            {
                return string.Empty;
            }

            CheckSingleResponse(response, typeof(string));

            return ((string)response.Value);
        }
Exemplo n.º 2
0
 public string GetProperty(CimInstanceName instanceName, string propertyName)
 {
     GetPropertyOpSettings settings = new GetPropertyOpSettings(instanceName, propertyName);
     return GetProperty(settings);
 }