Provides storage for multiple credentials. Contains methods to obtain credentials from native library WinInet.dll.

Namespace:  Aras.Net.WinInet
Assembly:  Aras.Net (in Aras.Net.dll) Version: 11.0.0.6296

Syntax

C#
public class WinInetCredentialsCollection : ICredentials, 
	IEnumerable<NetworkCredential>, IEnumerable, IWinInetCredentialsCollectionComIncoming
Visual Basic (Declaration)
Public Class WinInetCredentialsCollection _
	Implements ICredentials, IEnumerable(Of NetworkCredential),  _
	IEnumerable, IWinInetCredentialsCollectionComIncoming
J#
public class WinInetCredentialsCollection implements ICredentials, 
	IEnumerable<NetworkCredential>, IEnumerable, IWinInetCredentialsCollectionComIncoming
JScript
public class WinInetCredentialsCollection implements ICredentials, IEnumerable<NetworkCredential>, IEnumerable, IWinInetCredentialsCollectionComIncoming

Remarks

The class incapsulates CredentialCache thus the WinInetCredentialsCollection class stores credentials for multiple Internet resources. Applications that need to access multiple resources can store the credentials for those resources in a WinInetCredentialsCollection instance that then provides the proper set of credentials to the Internet resource when required. When the [M:GetCredential] method is called, it compares the Uniform Resource Identifier (URI) and authentication type provided with those stored in the cache and returns the first set of credentials that match. If no match found then DefaultNetworkCredentials are returned. These are system credentials of the current security context.

Inheritance Hierarchy

System..::.Object
  Aras.Net.WinInet..::.WinInetCredentialsCollection

See Also