The ProtocolStack class encapsulates administrative access to the LayGO protocol stack.
using LaygoApi;
try
{
ProtocolStack.Start(cfgList);
UseLaygoStackServices();
}
catch (ProtocolStackException ex)
{
LogException("Exception: " + ex.Message);
}
finally
{
ProtocolStack.Stop();
}