public void Close()
{
if (this.closed)
{
throw new SystemException();
}
lock (this)
{
foreach (Provider p in providers)
{
p.Close();
}
providers = null;
this.closed = true;
}
}
public void changeURL(string newURL) { // Close connection to previous URL myLCM.Close(); // Set new URL setURL(newURL); }