{
protocolVersion = version;
}
-#if MONOTOUCH || (!TARGET_JVM && !NET_2_1)
+
+#if !TARGET_JVM
WebConnectionGroup GetConnectionGroup (string name)
{
if (name == null)
}
#endif
#if NET_2_0
- [MonoNotSupported ("")]
public bool CloseConnectionGroup (string connectionGroupName)
{
- throw new NotImplementedException ();
+ lock (locker) {
+ WebConnectionGroup cncGroup = GetConnectionGroup (connectionGroupName);
+ if (cncGroup != null) {
+ cncGroup.Close ();
+ return true;
+ }
+ }
+
+ return false;
}
#endif