|
Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.1.20
|
| Leadtools.Ccow.Server Namespace > CcowServer Class : IsRegistered Method |
public static bool IsRegistered()
'Declaration
Public Shared Function IsRegistered() As Boolean
'Usage
Dim value As Boolean value = CcowServer.IsRegistered()
public: static bool IsRegistered();
Copy Code
Imports Leadtools.Ccow.Server <TestMethod()> _ Public Sub StartServer() ' Check if the ccow server is registered If Not CcowServer.IsRegistered() Then CcowServer.Register() End If ' Start the CCOW server CcowServer.Start() End Sub Public Sub StopServer() ' Stop the CCOW server CcowServer.[Stop]() End Sub
using Leadtools.Ccow.Server; [TestMethod] public void StartServer() { // Check if the ccow server is registered if (!CcowServer.IsRegistered()) CcowServer.Register(); // Start the CCOW server CcowServer.Start(); } public void StopServer() { // Stop the CCOW server CcowServer.Stop(); }