Saturday, 15 April 2023
  1 Replies
  366 Visits
  Subscribe
TsgcWebSocketServer_HTTPAPI URL Reservation and admin rights

From documentation:
By default, this component requires that your application run as Administrator mode, for URL registration. If the URL have already be registered using an external tool like netsh, you can run without Admin rights, disable the property BindingOptions.ConfigureSSLCertificate to allow start the application without admin rights.


This don't work. I have all URL reserved, but the WebSocketServer wants to reserve the URL again every time and of course gets the error code 5 (no access).
I checked the source code and found no constraint or query to disable this behavior.

How can I use this server without admin rights (in my application)?

Thank you
Thomas