Click or drag to resize

IWsEndUserGetIsos Method

Gets a list of available ISO images. By the method GetIsos () of Aruba WsEndUser, you can get a list of objects of class Iso representing the ISO images available for the account specified at the time of authentication.

Namespace:  Aruba.Cloud.WsEndUser
Assembly:  Aruba.Cloud.WsEndUser (in Aruba.Cloud.WsEndUser.dll) Version: (
WsResult<IsoDetails[]> GetIsos()

Return Value

Type: WsResultIsoDetails
The method returns an object WsResult<IsoDetails[]> containing the image information associated with the account.
In the following example describes a method, called TestGetIsos (), which via a method call GetIsos() Aruba's WsEndUser, get a list of strings representing the reason why some ISO images virtual were invalid.
private static List<String> TestGetIsos(WsEndUserClient client)
  List<String> listOfInvalidityReason = new List<String>();

    WsResultOfArrayOfIsoDetails result = client.GetIsos();

    if (result.Success)
      IEnumerable<IsoDetails> listOfInvalidIso = result.Value.Where(p => p.InvalidityCode != 0);

      foreach (IsoDetails iso in listOfInvalidIso)
  catch (Exception ex)
    throw new ApplicationException(
      String.Format("An error has occurred while gathering virtual iso details. {0}", ex.Message));

  return listOfInvalidityReason;
See Also