private void DestroyRegister() { if (null == register) { return; } register.Dispose(); register = null; }
private void MakeRegister() { DestroyRegister(); register = new LibP2P.Register <UserData>(cloud, peerName, portNo); }