[msvc] Update csproj files
[mono.git] / mcs / class / System / System.Net / AuthenticationManager.cs
index 679bd5ae1ea518800b299f70dfb567da7ff6a391..98200b45b4a01ad613756f7d16839f978ce1e08f 100644 (file)
@@ -51,7 +51,7 @@ namespace System.Net
                                        return;
                                
                                modules = new ArrayList ();
-#if NET_2_1
+#if MOBILE
                                modules.Add (new NtlmClient ());
                                modules.Add (new DigestClient ());
                                modules.Add (new BasicClient ());
@@ -106,6 +106,13 @@ namespace System.Net
                        }
                }
 
+               [MonoTODO]
+               internal static bool OSSupportsExtendedProtection {
+                       get {
+                               return false;
+                       }
+               }
+
                internal static void Clear ()
                {
                        EnsureModules ();
@@ -136,7 +143,7 @@ namespace System.Net
                                        if (auth == null)
                                                continue;
 
-                                       auth.Module = mod;
+                                       auth.ModuleAuthenticationType = mod.AuthenticationType;
                                        return auth;
                                }
                        }
@@ -159,7 +166,7 @@ namespace System.Net
                                        if (auth == null)
                                                continue;
 
-                                       auth.Module = mod;
+                                       auth.ModuleAuthenticationType = mod.AuthenticationType;
                                        return auth;
                                }
                        }