Hi,
Ich habe diese Funktion, welche auch gut Funktioniert:
Public Function GetAllConnections() As IEnumerable(Of Connection)
Return GetAllTcpConnections.Concat(GetAllUdpConnections) _
.OrderBy(Function(Conn) Conn.Proto) _
.ThenBy(Function(Conn) Conn.State)
End Function
Allerdings benötigt sie Linq welches erst in Framework 3.5 unterstützt wird.
Ich muss das ganze aber in 2.0 zum laufen bekommen.
Wie kann ich das tun?
Die Klasse Connection enthält mehrere Properties und GetAllTcpConnections returned eine List of (Connection)
Ich habe diese Funktion, welche auch gut Funktioniert:
Public Function GetAllConnections() As IEnumerable(Of Connection)
Return GetAllTcpConnections.Concat(GetAllUdpConnections) _
.OrderBy(Function(Conn) Conn.Proto) _
.ThenBy(Function(Conn) Conn.State)
End Function
Allerdings benötigt sie Linq welches erst in Framework 3.5 unterstützt wird.
Ich muss das ganze aber in 2.0 zum laufen bekommen.
Wie kann ich das tun?
Die Klasse Connection enthält mehrere Properties und GetAllTcpConnections returned eine List of (Connection)
C# Developer
Learning C++
Learning C++