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();
}