C# Class System.Net.CredentialCache

Inheritance: ICredentials, IEnumerable
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Add ( Uri uriPrefix, string authType, NetworkCredential cred ) : void
Add ( string host, int port, string authenticationType, NetworkCredential credential ) : void
CredentialCache ( ) : System.Net.Sockets
GetCredential ( Uri uriPrefix, string authType ) : NetworkCredential
GetCredential ( string host, int port, string authenticationType ) : NetworkCredential
GetEnumerator ( ) : IEnumerator
Remove ( Uri uriPrefix, string authType ) : void
Remove ( string host, int port, string authenticationType ) : void

Method Details

Add() public method

public Add ( Uri uriPrefix, string authType, NetworkCredential cred ) : void
uriPrefix Uri
authType string
cred NetworkCredential
return void

Add() public method

public Add ( string host, int port, string authenticationType, NetworkCredential credential ) : void
host string
port int
authenticationType string
credential NetworkCredential
return void

CredentialCache() public method

public CredentialCache ( ) : System.Net.Sockets
return System.Net.Sockets

GetCredential() public method

public GetCredential ( Uri uriPrefix, string authType ) : NetworkCredential
uriPrefix Uri
authType string
return NetworkCredential

GetCredential() public method

public GetCredential ( string host, int port, string authenticationType ) : NetworkCredential
host string
port int
authenticationType string
return NetworkCredential

GetEnumerator() public method

public GetEnumerator ( ) : IEnumerator
return IEnumerator

Remove() public method

public Remove ( Uri uriPrefix, string authType ) : void
uriPrefix Uri
authType string
return void

Remove() public method

public Remove ( string host, int port, string authenticationType ) : void
host string
port int
authenticationType string
return void