An implementation of the ICredentials interface
that encapsulates a username and password that do not change.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public class Credentials : ICredentials
Public Class Credentials _ Implements ICredentials
public ref class Credentials : ICredentials
Members
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. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table. (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.
|
Inheritance Hierarchy
Object | |
Credentials |