wasDAVClient
/wasDAVClient/Client.cs |
---|
@@ -12,7 +12,7 @@ |
namespace wasDAVClient |
{ |
public class Client : IClient |
public class Client : IClient, IDisposable |
{ |
private const int HttpStatusCode_MultiStatus = 207; |
@@ -580,6 +580,14 @@ |
} |
} |
public void Dispose() |
{ |
if(_client != null) |
_client.Dispose(); |
if (_uploadClient != null) |
_uploadClient.Dispose(); |
} |
#endregion |
} |
} |