projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2007-06-21 Dick Porter <dick@ximian.com>
[mono.git]
/
mcs
/
class
/
System
/
System.Net
/
NetworkCredential.cs
diff --git
a/mcs/class/System/System.Net/NetworkCredential.cs
b/mcs/class/System/System.Net/NetworkCredential.cs
old mode 100755
(executable)
new mode 100644
(file)
index
4d4fb1f
..
5eea320
--- a/
mcs/class/System/System.Net/NetworkCredential.cs
+++ b/
mcs/class/System/System.Net/NetworkCredential.cs
@@
-30,6
+30,9
@@
namespace System.Net
{
public class NetworkCredential : ICredentials
namespace System.Net
{
public class NetworkCredential : ICredentials
+#if NET_2_0
+ , ICredentialsByHost
+#endif
{
// Fields
string userName;
{
// Fields
string userName;
@@
-78,6
+81,13
@@
namespace System.Net
public NetworkCredential GetCredential (Uri uri, string authType)
{
return this;
public NetworkCredential GetCredential (Uri uri, string authType)
{
return this;
- }
+ }
+
+#if NET_2_0
+ public NetworkCredential GetCredential (string host, int port, string authenticationType)
+ {
+ return this;
+ }
+#endif
}
}
}
}