string password;
string domain;
-#if NET_4_0
SecureString securePassword;
-#endif
// Constructors
public NetworkCredential ()
this.domain = domain;
}
-#if NET_4_0
public NetworkCredential (string userName, SecureString password)
{
this.userName = userName;
{
this.domain = domain;
}
-#endif
// Properties
public string Domain {
set { password = value; }
}
-#if NET_4_0
public SecureString SecurePassword {
get { return securePassword; }
set {
}
}
}
-#endif
public NetworkCredential GetCredential (Uri uri, string authType)
{