java.net.ServerSocket.getLocalPort C# (CSharp) Method