Beispiel #1
0
 public void Listar()
 {
     try
     {
         var list = fabric_ca_client.GetHFCAIdentities(admin);
         foreach (var item in list)
         {
             Console.WriteLine($"affiliation: {item.Affiliation}");
             Console.WriteLine($"EnrollmentId: {item.EnrollmentId}");
             Console.WriteLine($"IsDeleted: {item.IsDeleted}");
             Console.WriteLine($"Secret: {item.Secret}");
             Console.WriteLine($"Type: {item.Type}");
             Console.WriteLine("----------------------------------------------------------");
             Console.WriteLine();
         }
     }
     catch (Exception ex)
     {
         Console.WriteLine(ex);
     }
 }