Exemplo n.º 1
0
        void showConnectivity(NetworkAccess networkAccess, IEnumerable <ConnectionProfile> connectionProfiles)
        {
            StringBuilder sb = new StringBuilder();

            sb.Append("Netzwerk: ");
            sb.Append(networkAccess.ToString());
            if (connectionProfiles.Count <ConnectionProfile>() > 0)
            {
                sb.AppendLine("");
                foreach (var item in connectionProfiles)
                {
                    sb.Append("   ");
                    sb.AppendLine(item.ToString());
                }
            }
            labelConnectivity.Text = sb.ToString();
        }