SmtpNetworkElement::DefaultCredentials Property
.NET Framework (current version)
Determines whether or not default user credentials are used to access an SMTP server. The default value is false.
Assembly: System (in System.dll)
public: [ConfigurationPropertyAttribute("defaultCredentials", DefaultValue = false)] property bool DefaultCredentials { bool get(); void set(bool value); }
Property Value
Type: System::Booleantrue indicates that default user credentials will be used to access the SMTP server; otherwise, false.
.NET Framework
Available since 2.0
Available since 2.0
Show: