I have a C# server and a C# client using SignalR to communicate. Both are WPF applications. On my client I have a button for logging in at the server. I want to disable the login button if the server is not available.
Is there any way I can check if the server is available or not?