UCWA2.0-CS
UCWA2.0-CS copied to clipboard
No way to run interactions between two skype users on the same machine?
because of the use of static HttpService, it seems there is no way to run two users interaction in the same application. Am I right?
@sergsalo sorry for the late reply. Yes you're right because of this line (and others) https://github.com/kenakamu/UCWA2.0-CS/blob/317476aceb19f5174b08c121684754e6dba91bb2/UCWASDK/UCWASDK/Services/HttpService.cs#L24 today it's impossible to have two different identities in the same process. The HttpClient have a static reference to avoid network port exhaustion, a common issue in .NET. The proper fix would probably to abstract a httpClient Factory/pool, implement a default one and allow people to override it. Feel free to issue a pull request if you want to address the issue