Back to product page

Stop method


Stops WEB server.

Type

Void

Syntax

  • C#
  • VB.NET
Void Stop();

Void Stop(Boolean Force);
The Stop(Force) syntax has these parts:
ForceIf set to True, will force shutdown.

Sub Stop()

Sub Stop(ByVal Force As Boolean)
The Stop(Force) syntax has these parts:
ForceIf set to True, will force shutdown.

Remarks

Stop method will immediately disconnect all connected users and stop accepting any new connections. Further more, Port that is used for listening will be freed and you can use it for some other purpose.

If you try to obtain list or snapshot of currently connected users at the time you shut down server, you should do it before you call Stop method, because it will delete list of all users at that time. To start server again, call Start method.

Platforms

Windows