Ejemplo n.º 1
0
        Byte[] getBinaryProperty(AdcsCAPropertyName propID, Int32 index = 0)
        {
            String value = (String)_getCaPropertyFunc.Invoke(_configString, (Int32)propID, index, (Int32)AdcsCAPropertyValueType.Binary, (Int32)AdcsBinaryFormat.Base64NoHeader);

            return(Convert.FromBase64String(value));
        }
Ejemplo n.º 2
0
 String getStringProperty(AdcsCAPropertyName propID, Int32 index = 0)
 {
     return((String)_getCaPropertyFunc.Invoke(_configString, (Int32)propID, index, (Int32)AdcsCAPropertyValueType.String, 0));
 }
Ejemplo n.º 3
0
 Int32 getIntegerProperty(AdcsCAPropertyName propID, Int32 index = 0)
 {
     return((Int32)_getCaPropertyFunc.Invoke(_configString, (Int32)propID, index, (Int32)AdcsCAPropertyValueType.Long, 0));
 }