Export (0) Print
Expand All

CredentialCache.Add Method

Adds a NetworkCredential instance to the credential cache.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Add(Uri, String, NetworkCredential) Adds a NetworkCredential instance to the credential cache for use with protocols other than SMTP and associates it with a Uniform Resource Identifier (URI) prefix and authentication protocol.
Public method Add(String, Int32, String, NetworkCredential) Adds a NetworkCredential instance for use with SMTP to the credential cache and associates it with a host computer, port, and authentication protocol. Credentials added using this method are valid for SMTP only. This method does not work for HTTP or FTP requests.
Top

Community Additions

ADD
Show:
© 2014 Microsoft