Obtains credentials from WinInet.dll if required (please read Remarks) and creates a NetworkCredential based on that. Then adds the NetworkCredential instance to the credential cache for use with protocols other than SMTP and associates it with a Uniform Resource Identifier (URI) prefix and NTLM, Negotiate protocols.

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

Syntax

C#
public void AddFromWinInet(
	string uriPrefix,
	string winInetHelperUri
)
Visual Basic (Declaration)
Public Sub AddFromWinInet ( _
	uriPrefix As String, _
	winInetHelperUri As String _
)
J#
public final void AddFromWinInet(
	String uriPrefix,
	String winInetHelperUri
)
JScript
public final function AddFromWinInet(
	uriPrefix : String, 
	winInetHelperUri : String
)

Parameters

uriPrefix
Type: System..::.String
A String that specifies the URI prefix of the resources that the credential grants access to.
winInetHelperUri
Type: System..::.String
A String - URI to a page implementing special interface required to get user credentials from WinInet.dll. Please see Remarks.

Implements

IWinInetCredentialsCollectionComIncoming..::.AddFromWinInet(String, String)

Remarks

CopyC#
winInetHelperUri
is a URI of a special page. The page is required to 1) ensure that .Net code has no access to that page; 2) establish connection from WinInet.dll; 3) send a special request to a page via WinInet.dll to get the credentials;

See Also