Shutdown Method
Shuts down the server.
Syntax
[VB.NET] Public Sub Shutdown()
[C#] public void Shutdown();
Remarks
This method shuts down the server. Calling this method is equivalent to setting Listening to False, and then breaking every client connection by calling Disconnect.
NOTE: This method has a corresponding asynchronous version (ShutdownAsync) for use in the Xamarin environment.