X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem%2FSystem.Net%2FNetworkCredential.cs;h=5eea32028f2b8ecbbdd6eaf588d3214ad00470c3;hb=6b41703ee1971df9c44309c7b252855d124ba399;hp=4d4fb1f1bea35f179edb1c343ae2cd87214ccda6;hpb=7ff8f29ff29fa3f08ef305ac43ef079097323286;p=mono.git diff --git a/mcs/class/System/System.Net/NetworkCredential.cs b/mcs/class/System/System.Net/NetworkCredential.cs old mode 100755 new mode 100644 index 4d4fb1f1bea..5eea32028f2 --- 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 +#if NET_2_0 + , ICredentialsByHost +#endif { // Fields string userName; @@ -78,6 +81,13 @@ namespace System.Net 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 } }