/// <summary>
 /// Lists all ports associated with the account.
 /// </summary>
 /// <returns>
 /// A collection of port resources associated with the account.
 /// </returns>
 public static IEnumerable <Port> ListPorts(this NetworkingService networkingService)
 {
     return(networkingService.ListPortsAsync().ForceSynchronous());
 }
 /// <summary>
 /// Lists all ports associated with the account.
 /// </summary>
 /// <returns>
 /// A collection of port resources associated with the account.
 /// </returns>
 public static IEnumerable <Port> ListPorts(this NetworkingService networkingService, PortListOptions options = null)
 {
     return(networkingService.ListPortsAsync(options).ForceSynchronous());
 }