/// <summary> /// Parse connection information. /// </summary> /// <param name="direction">In or out connections.</param> private void ParseConnections(ConnectionDirection direction) { try { ConnectionStream cs = new ConnectionStream(Profile.UserName, HashKey, direction, DelayBetweenAPIRequests); cs.Read(); if (cs.Connections != null && cs.Connections.Count > 0) { Profile.Connections.AddRange(cs.Connections); } } catch (Exception e) { } }