Microphone
Microphone copied to clipboard
Microphone.Core.Configuration FreeTcpPort() returns static 8181 port
I installed the Nuget Packages, which seem to be based on the DotNetCore branch and the Microphone.Core.Configuration.FreeTcpPort() method seems to have debugging code still in it.
Probably because if you clone repository and go into Configuration class this is what would you see
private static int FreeTcpPort()
{
return 8181;
//var l = new TcpListener(IPAddress.Loopback, 0);
//l.Start();
//var port = ((IPEndPoint)l.LocalEndpoint).Port;
//l.Stop();
//return port;
}
If want to write your own FreeTcpPort method just uncommend the code above,
Resolved in a548e9cf