An implementation of the ICredentials interface
that encapsulates a username and password that do not change.
![](../icons/collapse_all.gif)
C# | Visual Basic | Visual C++ |
public class Credentials : ICredentials
Public Class Credentials _ Implements ICredentials
public ref class Credentials : ICredentials
![](../icons/collapse_all.gif)
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | Credentials(String, String) |
Initializes a new instance of the Credentials class.
|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | Password |
Gets the password.
|
![]() | ToString()()() | (Inherited from Object.) |
![]() | Username |
Gets the username.
|
![](../icons/collapse_all.gif)
Object | |
![]() | Credentials |